CSS hack: Difference between revisions

Content deleted Content added
Conditional comments: fix syntaxhighlight error
Line 19:
 
The following are examples of the different syntax for these comments.
<syntaxhighlight lang="html4stricthtml">
<head>
<title>Test</title>
Line 26:
<!--[if lt IE 7]> <link href="ie_6_and_below.css" rel="stylesheet" type="text/css"> <![endif]-->
<!--[if !lt IE 7]> <![IGNORE[--><![IGNORE[]]> <link href="recent.css" rel="stylesheet" type="text/css"> <!--<![endif]-->
<!--[if !IE]--> <link href="not_ie.css" rel="stylesheet" type="text/css"> <!--<![endif]-->
</head>
</syntaxhighlight>