/ Published in: HTML

The following is a list of any conditional comment you'd probably ever need for targeting any version of IE.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!--[if IE]> <link rel="stylesheet" href="css/ie.css" type="text/css" /> <![endif]--> <!--[if IE 5]> <link rel="stylesheet" href="css/ie5.css" type="text/css" /> <![endif]--> <!--[if IE 5.5]> <link rel="stylesheet" href="css/ie55.css" type="text/css" /> <![endif]--> <!--[if IE 6]> <link rel="stylesheet" href="css/ie6.css" type="text/css" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" href="css/ie7.css" type="text/css" /> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" href="css/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="css/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE8]> <link rel="stylesheet" href="css/ie.css" type="text/css" /> <![endif]-->
Comments
