【发布时间】:2013-08-05 13:04:37
【问题描述】:
我正在制作一个网站,我想要一个不同的样式表。 在 ie 8 上它的工作完美,但 ie9 似乎没有得到它。
我尝试了几种说法,比如
if lte IE 10
或
if IE
或
if IE 9
现在我发现了这个问题:Conditional Comments not working in IE9 (CF environment)
以下也无法正常工作
if gte IE 7
我只是不知道我做错了声明是正确的,因为它在 ie8 中确实有效..
完整的声明是:
<!--[if gte IE 7]>
<link href="<?php echo bloginfo('template_directory'); ?>/ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
【问题讨论】:
标签: internet-explorer conditional