W3C home > Mailing lists > Public > www-html@w3.org > September 2008

Re: standardization of IE's conditional comments

From: Brett Patterson <inspiron.pattersonb@gmail.com>
Date: Mon, 29 Sep 2008 07:46:20 -0400
Message-ID: <754508830809290446m3061b815h3536b377558e8512@mail.gmail.com>
To: "Gabriele Romanato" <gabriele.romanato@gmail.com>
Cc: www-html@w3.org
That is a good idea. But I hope you do know that the Firefox 3 is a longer
way to go. Because a simpler way is to use NN which targets Firefox, Safari
and pretty much all other browsers. The code for IE that you have written is
technically wrong.

It should be written:

<!--[if IE]><!-->
........
<!--<![endif]-->

This is Microsoft's suggested fix (I will call MSF for short). Also, using
MSF, you can target Firefox and others by using NN.
Whereas, IE is, you can change to NN:

<!--[if NN]><!-->
.........
<!--<![endif]-->


2008/9/29 Gabriele Romanato <gabriele.romanato@gmail.com>

> http://lists.w3.org/Archives/Public/www-style/2008Sep/0219.html
>
> Gabriele Romanato
>
> --
> http://www.css-zibaldone.com/
> http://www.css-zibaldone.com/test/ (English)
> http://www.css-zibaldone.com/articles/ (English)
> http://mimicry.css-zibaldone.com/   (Blog)
>
>
Received on Monday, 29 September 2008 15:43:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:14 GMT