本文参考于《精通CSS第三版》第九章节9.4.1
Window上的IE5和更高版本会接收样式表ie.css
<!--[if IE]--><link rel="stylesheet" type="text/css" href="/css/ie.css" />
<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="/css/ie6.css" />
<![endif]-->
指定一组浏览器,比如IE5和IE5.5;
<!--[if lt IE 6]>
<link rel="stylesheet" type="text/css" href="/css/ie5x.css" />
<![endif]-->
对IE的所有版本隐藏高级样式:
<!--[if !IE]-->
<link rel="stylesheet" type="text/css" href="/css/advanced.css" />
<![endif]-->
对IE5.x隐藏样式:
<!--[if gte IE 6]-->
<link rel="stylesheet" type="text/css" href="/css/advanced.css" />
<![endif]-->