css - 为什么 IE8 版本 "8.0.7601.17514 CO"的行为类似于 IE7?

标签 css internet-explorer internet-explorer-8

在客户端安装了IE“8.0.7601.17514 CO”,无法升级到较新版本的IE。

这个特定版本在 CSS 渲染方面表现得像 IE7,更像 IE8。

所以,IE8 特定 <!--[if IE 8]>没有用。

是否有解决方法,仅针对此版本的 IE8。

最佳答案

如果没有一些示例或相关网站的链接,很难给您准确的答案。但是,我希望您的客户端的 Internet Explorer 进入 Compatibility Mode .

这通常发生在显示的网站存在验证问题的情况下,或者 - 无论出于何种原因 - Internet Explorer 认为它呈现的网站在 IE7 模式下比在 IE8 下显示得更好。

第一步,通过 W3 Validator 运行您的网站并纠正它提出的任何问题。

您还可以强制 Internet Explorer 使用最新可用的(即:非兼容模式)呈现 - IE-Edge .这可以通过将此元标记添加到您的页面来实现 <head> :

<meta http-equiv="X-UA-Compatible" content="IE=Edge" />

但是请注意,MSDN 只建议将此方法用于测试目的,建议在生产站点上使用此方法:

Because edge mode documents display webpages using the highest mode available to the version of Internet Explorer used to view them, it is recommended that you should only use this document mode for testing purposes only. Do not use it for production uses.

关于css - 为什么 IE8 版本 "8.0.7601.17514 CO"的行为类似于 IE7?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20328183/

相关文章:

javascript - 无法获取未定义或 null 引用的属性 isFunction

javascript - IE8 jquery ajax head 请求不起作用?

testing - IE8 向后兼容吗?

javascript - Google map Circle 对象自定义 css

css - IE 中的背景大小不起作用

php - 如何使用 php 和 javascript 为特定结果显示正确的图像?

javascript - 符号集图标未在 Internet Explorer 中显示

javascript - 适用于 ie9 和 ff4 - 不适用于 ie7 或 ie 8?

jquery - 使用 jQuery 淡化 css 样式悬停状态的动画

javascript - Bootstrap : show/hide column divs with checkbox and change column span