Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Microsoft Conditional Comments


j_h_maccann - 1:02 am on Jan 27, 2007 (gmt 0)


I've found that the most convenient use of these comments is to include or not include special javascript or stylesheets for IE:


<script type="text/javascript" src="example.js"></script>
<!--[if IE]>
<script type="text/javascript" src="example-ie.js"></script>
<![ENDIF]-->

and


<link rel="stylesheet" type="text/css" href="example.css">
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="example-ie.css">
<![ENDIF]-->


Thread source:: http://www.webmasterworld.com/css/3232700.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com