views:

8024

answers:

4

I need a solution for round corners using javascript with or without jQuery in IE8 standards mode.

+3  A: 

I've had good luck with dd_roundies. It doesn't use jQuery and it's a pretty small script.

Example usage from the site:

<script src="DD_roundies.js"></script>
<script>
/* EXAMPLES */

/* IE only */
DD_roundies.addRule('.roundify', '10px');

/* varying radii, IE only */
DD_roundies.addRule('.something_else', '10px 4px');

/* all browsers */
DD_roundies.addRule('.yet_another', '5px', true);
</script>
Johnny G
I went to DD_roundies example page. All examples were messed up in IE8 standard mode. I need something that will work in standard mode.
+3  A: 

jQuery corner() seems to work correctly in IE8 standards mode. Seems to be the go-to corner plugin for jQuery, too.

ajm
dd_roundies offers more reliable rendering in my experience. jquery.corner's rendering can be weird if you dont have a solid background and even if you specify the cc/sc#.
meder
A: 

You can have a look at FlexiPanels CSS - a Dreamweaver extension that makes CSS rounded corners without coding. Works on IE8 as well.

Extend Studio
+1  A: 

This seems to work in ie8 :

try it...

Update 11-10-2010: You can also try to include PIE.HTC and call that from your stylesheet. for more information see the CCS3PIE website. It is a much better solution!

Plippie
Doesnt seem to work in IE8 standards mode
notandy
try this new one
Plippie
this also seems to work:http://parkerfox.co.uk/labs/cornerz
Plippie