From: "David McGlone" <da...@dmcentral.net>
Hi everyone, I'm having a slight problem with rounded corners in IE and
need a little help.
I have added this property to my stylesheet but I am not getting the
expect behavior with IE. Here is the property:
behavior: url(include/styles/border-radius.htc);
Hi David,
We have very thoroughly analyzed the use of hacks for rounded corners in IE, and concluded that it is simply not worth the trouble -
nor the potential instability. Some folks will have differing opinions but I really, really feel we're right on this.
A better approach would be to forget about the HTC file, concentrate on CSS 3, and allow IE8 and under to gracefully render
rectangular elements, while modern browsers display the curves. This is sometimes called "progressive enhancement". The good news
is that IE9, due out by year end, should support border-radius. If rounded corners are absolutely necessary, then I would use a
single, background-image based solution that will work in all browsers.
It's interesting this question came up today as we are in the process of prototyping a layout making significant use of
border-radius and shadows, while allowing IE to just display what it knows how to display:
http://www.projectseven.com/products/staging/mirage/columns-four.htm
Good luck! But do stay away from rounded corner hacks ;-)
--
Al Sparber - PVII
http://www.projectseven.com
Dreamweaver Menus | Galleries | Widgets
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/