gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-04 14:44:46 31 4
gpt4 key购买 nike

我的 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/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com