<p><!--[if IE]> According to the conditional comment this is Internet Explorer<br /><! [endif]--><!--[if IE 5]> According to the conditional comment this is Internet Explorer 5<br /> <![endif]--><!--[if IE 5.0]> According to the conditional comment this is Internet Explorer 5.0<br /> <![endif]--><!--[if IE 5.5]> According to the conditional comment this is Internet Explorer 5.5<br /> <![endif]--><!--[if IE 6]> According to the conditional comment this is Internet Explorer 6<br /> <![endif]--><!--[if IE 7]> According to the conditional comment this is Internet Explorer 7<br /> <![endif]--><!--[if gte IE 5]> According to the conditional comment this is Internet Explorer 5 and up<br /><![endif]--><!--[if lt IE 6]> According to the conditional comment this is Internet Explorer lower than 6<br /> <![endif]--><!--[if lte IE 5.5]> According to the conditional comment this is Internet Explorer lower or equal to 5.5<br /> <![endif]--> <!--[if gt IE 6]> According to the conditional comment this is Internet Explorer greater than 6<br /> <![endif]--> </p>
我得到这个结果?
According to the conditional comment this is Internet ExplorerAccording to the conditional comment this is Internet Explorer 7According to the conditional comment this is Internet Explorer 5 and upAccording to the conditional comment this is Internet Explorer greater than 6
我不应该得到ie8吗?
谢谢.
解决方法 唯一看来不正确的评论According to the conditional comment
this is Internet Explorer 7
浏览器是否处于兼容模式,因为它将呈现为ie7
总结以上是内存溢出为你收集整理的HTML – 为什么这些条件评论告诉我IE8是IE7?全部内容,希望文章能够帮你解决HTML – 为什么这些条件评论告诉我IE8是IE7?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)