html - IE 8 仍在运行兼容模式甚至 http-equiv ="X-UA-Compatible"内容 ="IE=edge, chrome=1"

标签 html internet-explorer browser ie8-compatibility-mode

我的 IE 8 有问题,代码是这样的

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" >
<title>My page</title>
</head>

现在 IE 8 版本号 8.0.7601.17514在 Windows Server 2008 中运行,页面加载为 Browser Mode: IE 8 compatibility mode ,即使兼容模式按钮因 <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" > 而被禁用.

但在 IE 8 版本号的另一个实例中没有 8.0.6001.18702IS (在 windows xp pro 中运行)在正常的 IE 模式下运行良好。

你能帮忙吗?我希望页面以正常的 IE 8 模式加载。

最佳答案

我知道这已经晚了,但我刚刚遇到了这个问题。 这是/曾经是强制启用兼容模式并禁用兼容模式按钮的 Intranet 站点。

删除 DOCTYPE 属性更正了强制兼容模式。

洛德莱登

关于html - IE 8 仍在运行兼容模式甚至 http-equiv ="X-UA-Compatible"内容 ="IE=edge, chrome=1",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9718853/

相关文章:

javascript - 如何在点击时显示/隐藏内容

css - 在 IE 中使用空白样式的 Span (7) 应用了 _past_ span 的结尾

jquery - IE8、IE9、IE10 光标闪烁问题

javascript - getUserMedia 不适用于新浏览器

firefox - 内联 base64 编码链接在 Firefox 中不起作用

css - 见 :hover state in Chrome Developer Tools

html - 强制网络浏览器识别跨站点的更新图形

jquery - 如何启用基于 list 确认的提交按钮?

html - 位置 :absolute 未触发溢出

html - 关于我们部分图片不会显示