【发布时间】:2012-03-31 09:46:28
【问题描述】:
在我的本地 xampp 上,这似乎在 IE 中不起作用
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]-->
为什么会这样,我该如何解决?
ps:上传到我的服务器,css条件语句正常
【问题讨论】:
-
当您尝试直接在浏览器中加载样式表时会发生什么? (即:
http://localhost/ie.css) -
什么是“似乎不起作用”?您确定在您的本地驱动器上,css 文件位于相同的相对位置吗?
-
@steveax,即浏览器想要打开它。先生,我什至做了绝对的确定。我注意到的是,也显示
标签: css conditional conditional-statements