如果IE 9中显示IE评论 [英] If IE comments showing up in IE9

查看:224
本文介绍了如果IE 9中显示IE评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是当您在IE9中访问我的网站时发生的情况-

This is what is happening when you visit my site in IE9 -

这是导致此问题的代码:

This is the code that is causing this:

<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<link rel="stylesheet" href="stylesheets/ie.css" media="screen" />
<![endif]-->
<!--[if !IE]-->
<link rel="stylesheet" href="stylesheets/sizeable.css" media="screen" />
<!--[endif]-->

<!--[if !IE]-->
<link rel="stylesheet" href="stylesheets/sizeable.css" media="screen" />
<!--[endif]-->

有想法吗?

推荐答案

根据评论者进行了固定,谢谢.另请参阅其他答案.

fixed according to the commenters, thanks. See also the other answers.

更正的代码(第二部分):

Corrected code (second part):

<!--[if !IE]> -->
<link rel="stylesheet" href="stylesheets/sizeable.css" media="screen" />
<!-- <![endif]-->

<!--[if !IE]> -->
<link rel="stylesheet" href="stylesheets/sizeable.css" media="screen" />
<!-- <![endif]-->

这篇关于如果IE 9中显示IE评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆