Zoe M. Gillenwater wrote:
> So, I could also write something like this:
> 
> <!--[I love kittens]> yes I do <![end]-->

<!--[I love kittens]> me too ;-) <![end]-->
--------------

Just to extend that, in case someone use the information given by
Microsoft[1] to go a bit further...

The validator do not like what Microsoft call "Downlevel-revealed
Conditional Comments".

Example[2] - my own page on the subject of 'conditional comments':
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.gunlaug.no%2Fcontents%2Fwd_1_02_01.html>
...is clearly non-valid because of such comments.

While the next page[3] where I use a "trick" comment in an ordinary
'conditional comment':
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.gunlaug.no%2Fcontents%2Fwd_1_02_02.html>
...seems valid enough.

The 'ordinary vs. "trick" comment'[4] looks like this:
<!--[if !IE]> something for IE <![endif]-->
<!--[if !IE]><--> IE can't see this <!--><![endif]-->

This might be of use to someone for hiding CSS (or other stuff) from
IE/win, so I think I'm "on topic" ;-)

regards
        Georg

[1]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/ccomment_ovw.asp
[2]http://www.gunlaug.no/contents/wd_1_02_01.html
[3]http://www.gunlaug.no/contents/wd_1_02_02.html
[4]http://www.scss.com.au/family/andrew/webdesign/msie/
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to