IE兼容模式转到最高版本 [英] IE Compatibility mode go to highest possible version

查看:68
本文介绍了IE兼容模式转到最高版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我公司的用户很少,因为他们没有将Windows 7上的IE更新到也支持IE兼容性视图EDGE的最高版本.我想问的是,如何才能退回到用户已安装的最高版本?

I have a problem with few users in our company as they don't have updated IE on Windows 7 to the highest version which also supports IE compatibility view EDGE. What I want to ask, how it is possible to fall back to the highest version user has installed ?

我在想

<meta http-equiv="X-UA-Compatible" content="IE=edge,IE=8" />

有可能吗?

推荐答案

"IE = edge" 告诉Internet Explorer使用其最高版本而不是任何旧版本的方式.支持X-UA兼容标头的IE的每个版本都支持"IE = edge".

"IE=edge" is how you tell Internet Explorer to use its highest version rather than any older version. Every version of IE that supports the X-UA-Compatible header supports "IE=edge".

例如,"IE = edge"将告诉IE11渲染为IE11,IE10渲染为IE10,IE9渲染为IE9,以及IE8渲染为IE8.

For example, "IE=edge" will tell IE11 to render as IE11, IE10 to render as IE10, IE9 to render as IE9, and IE8 to render as IE8.

对X-UA兼容不熟悉的开发人员,今天阅读此书时,可能会因使用"edge"一词而感到困惑-IE8中引入了X-UA-Compatible标头,其年龄至少比其早6年.新的Windows 10浏览器Microsoft Edge,在这种情况下,"edge"是指"IE渲染引擎的最新,最先进"版本.它与Microsoft Edge根本无关,并且出于明显的原因,您实际上不能告诉IE呈现为Microsoft Edge.

Developers who are new to X-UA-Compatible and reading this today may be confused by the use of the word "edge" — the X-UA-Compatible header was introduced in IE8, which is at least 6 years older than the new Windows 10 browser Microsoft Edge, and "edge" in this case refers to "the latest, 'cutting-edge' version of IE's rendering engine". It is not at all related to Microsoft Edge, and for obvious reasons you cannot actually tell IE to render as Microsoft Edge.

这篇关于IE兼容模式转到最高版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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