如果我的网站使用 ie6 标准,是否有一个文档类型可以使 ie8 表现得像 ie6?

发布于 2024-09-30 18:35:55 字数 154 浏览 1 评论 0原文

我想这可能是一个奇迹,但是有没有办法让 ie8 的 doctype 像在 ie6 标准模式下一样处理 html 。我知道你可以让 ie8 执行 ie7 标准模式,并且我认为你可以从 ie8 执行 ie6 怪异模式,但是有没有办法从 ie8 执行 ie6 标准模式?

谢谢, 格雷

I guess this might be a miracle, but is there a way to make the doctype of tell ie8 to treat the html just like it would in ie6 standards mode. I know you can make ie8 do ie7 standards mode, and I think you can do ie6 quirks mode from ie8, but is there a way to do ie6 standards mode from ie8?

Thanks,
Grae

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

偏爱你一生 2024-10-07 18:35:55

不,没有。

X-UA-Compatible 标签提供了模拟 IE 5(WTF?)和 7 的选项,但不是 6。

参考:了解 Internet Explorer 8 中的兼容性模式

最好的选择可能是修复组件你正在使用。

Nope, there isn't.

The X-UA-Compatible tag offers an option to emulate IE 5 (WTF?) and 7, but not 6.

Reference: Understanding Compatibility Modes in Internet Explorer 8

The best option is probably to fix the components you are using.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文