On 16/04/2008, James Leslie <[EMAIL PROTECTED]> wrote:
> Can anyone explain why you would want to target all non-IE browsers and
>  then all IE browsers?

More realistic example: assume you want to use css 2.1 selectors
(those which are supported even by IE7). This makes it necessary to
hide the rules from IE6 and as a consequence you will end up with 2
very different stylsheets: one for IE6 and below and one for IE7 and
Firefox etc. This could be done with

<!--[if IE]><![if IE 7]><![endif]-->
<style type="text/css">
css for Fx, Opera, Safari and IE 7
</style>
<!--[if IE]><![endif]><![endif]-->

<!--[if lte IE 6]>
<style type="text/css">
css for IE 6 and IE 5.5
</style>
<![endif]-->

I'm not going to say thats beautiful or standards conform. But that is
the documented proprietary selection mechanism called "conditional
comments" for IE.

Regards,

Manfred
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to