Michael Adams wrote: > A few years back i dropped conditional comments in favour of the CSS IE > @import hack[1][2][3]. Now i find myself in a position where i want to send > one thing to ie7 & ie8 and another to all other browsers. > > What i want to do is give CSS rounded corners and opacity to all browsers > that > support it. All current versions of IE do not support rounded corners - > though ie9 may in the future.
IE9 will have support for rounded corners. > I will pass alpha PNG images to ie7 & ie8. Or you could send invalid CSS (like the import hacks) that IE8 only sees. <http://css-class.com/test/bugs/ie/ie8-parsing-backslash.htm> I myself just do the best with IE8 without rounded corners. Some may not have that option. [snip] > IE @import hack: > I first found here > [1] http://annevankesteren.nl/2005/10/ie-import-hack > more > [2] http://imfo.ru/csstest/css_hacks/import.php > good reasons > [3] http://www.gunlaug.no/contents/wd_additions_12.html > > Grr... conditional comments first sentence: > [4] http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx > 1. <http://blogs.msdn.com/b/ie/archive/2009/11/18/an-early-look-at-ie9-for-developers.aspx> -- Alan http://css-class.com/ Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo ______________________________________________________________________ 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/