相关疑难解决方法(0)

HTML IE条件声明:不适用于Chrome/Firefox

我的html文档中有以下内容.

<!--[if (IE)]><!-->  i am IE <!--<![endif]-->
<!--[if !(IE)]><!--> i am not ie <!--<![endif]-->
Run Code Online (Sandbox Code Playgroud)

在IE中查看它正确地说"我是IE"

在Chrome/Firefox中查看时,它错误地说"我是IE我不是ie"而不是"我不是IE"

http://jsfiddle.net/Hgx97/

html conditional-comments

5
推荐指数
1
解决办法
8861
查看次数

标签 统计

conditional-comments ×1

html ×1