Chrome 和 Firefox 仅显示 "<!--[if IE]-->" / IE 代码



Firefox和Chrome都坚持执行此代码:

<!--[if IE]>
<p>Internet Explorer only code</p>
<![endif]-->

以及这个:

<!--[if IE 7]>
Special instructions for IE 7 here
<![endif]-->

他们显示了IE如果不存在的IE内容...该怎么办?

这些特殊说明仅在标题中起作用,通常用于加载特殊scriptlink标签

最新更新