为什么IE特定样式表被忽略

Si8*_*Si8 0 html css internet-explorer

我的HEAD网站内有以下样式表:

<!--[if !IE]-->
<link rel="stylesheet" href="theStyles/defaultStyle.css" type="text/css" charset="utf-8" />
<!--[endif]-->
<!--[if IE]>
<link rel="stylesheet" href="theStyles/defaultStyle_ie.css" type="text/css" charset="utf-8" />
<![endif]-->
Run Code Online (Sandbox Code Playgroud)

我正在运行IE版本10但由于某种原因它正在阅读非IE样式表.知道怎么解决吗?我是否必须在IE条件下具体?

我查看了开发人员工具,只加载了NON IE版本......

结束使用此:

<script type="text/javascript">
if (window.clipboardData)
     alert("You are using IE!");
else
     alert("NON IE");
</script>
Run Code Online (Sandbox Code Playgroud)

j08*_*691 5

每个微软:

从Internet Explorer 10开始,标准模式不再支持条件注释.使用功能检测为浏览器不支持的网站功能提供有效的回退策略.

Internet Explorer 10标准和怪癖模式中已删除对条件注释的支持,以提高互操作性并符合HTML5.这意味着条件注释现在被视为常规注释,就像在其他浏览器中一样.此更改可能会影响专门为Windows Internet Explorer编写的页面或使用浏览器嗅探来改变其在Internet Explorer中的行为的页面.