IE支持条件注释(IE5引入),尽管这种做法不符合标准规范,但是在处理不兼容性时非常有用:
<!--[if IE 6]>
this content is actually inside an HTML comment
<![endif]-->
<!--[if IE 7]>
this content is actually inside an HTML comment
<![endif]-->
IE支持条件注释(IE5引入),尽管这种做法不符合标准规范,但是在处理不兼容性时非常有用:
<!--[if IE 6]>
this content is actually inside an HTML comment
<![endif]-->
<!--[if IE 7]>
this content is actually inside an HTML comment
<![endif]-->