Manfred Staudinger wrote:
> On 15/04/2008, Bill Brown <[EMAIL PROTECTED]> wrote:
>>  You can use this syntax to target all NON-MSIE browsers:
>>  <!--[if !IE]> <-->
>>  <style type="text/css">@import url("css/fix/non_msie.css");</style>
>>  <!--> <![endif]-->
> 
> Thats definitely an unnecessary hack. The correct (although
> proprietary) syntax would be:
> <!--[if IE]><![if !IE]><![endif]-->
> <style type="text/css">
> css here
> </style>
> <!--[if IE]><![endif]><![endif]-->
> Regards,
> Manfred

Manfred,

I could not more *strongly* disagree with you, and I'm not sure why you 
are calling my syntax "incorrect" or "unnecessary" either. If they both 
do the same thing, mine not only appears (to me, at least) to be more 
elegant, but is shorter and more understandable. By comparison:

Mine:
<!--[if !IE]> <-->
... anything at all, including css here
<!--> <![endif]-->

and yours:

<!--[if IE]><![if !IE]><![endif]-->
... anything at all, including css here
<!--[if IE]><![endif]><![endif]-->

It seems a little odd to call my (correct and occasionally necessary) 
syntax "unnecessary" and "incorrect" and then send through a longer, 
more complicated syntax to accomplish the same thing.

Or am I totally missing something here?
______________________________________________________________________
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