Alternative to CurvyCorners
Is there an alternative script to CurvyCorners that does border-radii based on CSS? CurveryCorners has so many bugs a开发者_运维知识库nd rarely works the way it's expected to, it's just not worth using anymore.
Thanks.
The alternative is to use the CSS3 border-radius
style.
This works out-of-the-box in all current browsers, except IE8 and earlier. For browsers other than IE, you shouldn't be running any kind of script at all for this, as it's a standard built-in feature in the browser.
For IE8 and earlier, there is a hack called CSS3Pie which allows IE to also support the standard CSS3 border-radius
style. This is Javascript based, but works with the standard CSS code, meaning you can use the same style for all browsers.
As an added bonus, CSS3Pie also implements CSS3 box shadows and gradients for IE as well. And it's under active development, and the author is great at helping people out on the forum if they're having problems with it.
In the past i've used Diller Design's Roundies which has always worked pretty well for me.
It uses VML to create the rounded edges.
UNfortunatley i don't think the author is updating it any more.
精彩评论