如何强制IE10在IE9文档模式来渲染页面 [英] How to force IE10 to render page in IE9 document mode

查看:322
本文介绍了如何强制IE10在IE9文档模式来渲染页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个问题:


  1. 我怎么能强迫IE10在IE9文档模式来呈现?目前,它的渲染我的标准文档模式页。

  1. How can I force IE10 to render in IE9 document mode? Currently it's rendering my page in Standard document mode.

在IE10的开发者工具栏上,我无法看到的IE10的文档模式的选项。难道不执行,或者是我的浏览器版本是过时的?

In IE10's developer toolbar, I am not able to see the option of document mode of IE10. Is it not implemented, or is my browser version is out of date?

感谢您的帮助。

编辑:感谢大家提供的解决方案。早些时候,我使用的是meta标签
< META HTTP-EQUIV =X-UA-Compatible的内容=IE =边缘>
只是为了确保IE浏览器将呈现最高的文档模式的页面,但我面临着IE10标准模式下的一些问题,所以我改变了元标记呈现在IE9模式的页面:
< META HTTP-EQUIV =X-UA-Compatible的内容=IE = 9方式>

thanks everyone for the solutions provided. Earlier I was using a meta tag <meta http-equiv="x-ua-compatible" content="IE=edge" > just to make sure that IE will render the page in highest document mode, but I was facing some issues with IE10 standard mode, so I changed the meta tag to render the page in IE9 mode: <meta http-equiv="x-ua-compatible" content="IE=9" >.

推荐答案

您应该能够使用它的在X-UA meta标签

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

然而,如果你发现自己有这样做,你可能做错事,应该看看自己在做什么,看看你能做到这一点不同的/更好方式。

However, if you find yourself having to do this, you're probably doing something wrong and should take a look at what you're doing and see if you can do it a different/better way.

这篇关于如何强制IE10在IE9文档模式来渲染页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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