> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > discuss.org] On Behalf Of Bill Brown > Sent: Tuesday, April 15, 2008 4:27 PM > To: Manfred Staudinger > Cc: css-d@lists.css-discuss.org; John Griessen > Subject: Re: [css-d] How do you feed IE versions different css than w3c > compliant browsers? > > 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]-->
What about a simple: <!--[if !IE]> ... anything at all, including css here <![endif]--> > Or am I totally missing something here? Could be me ;) -- Regards, Thierry | http://www.TJKDesign.com ______________________________________________________________________ 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/