You are here: Correct syntax conditional comment? « HTML « IT news, forums, messages
Correct syntax conditional comment?

Posted by andrew on 12/03/07 13:27

I have been using the following for some time to call a small css for
anybody still using ie5:

<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="ie5.css" />
<![endif]-->

And I have seen countless examples of this exact syntax scattered
around the web. But I am using 4.01 strict so shouldn't I be using:

<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="ie5.css">
<![endif]--> ^^

instead? I suspect not as I have /never/ seen it done this way but I am
curious about the reason.

Andrew
--
"For the God who sings"
http://www.andrews-corner.org/ftgws.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация