IE 11兼容模式IE 11.0.20中的META标记问题,但IE 11.0.21没有 [英] IE 11 compatibility Mode META tag issue with IE 11.0.20 but not with IE 11.0.21

查看:119
本文介绍了IE 11兼容模式IE 11.0.20中的META标记问题,但IE 11.0.21没有的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


似乎Microsoft IE 11.0.20 (kb-3058515)
存在一些问题作为兼容性META标签无法正常工作。 EMulateIE7在页面显示方面存在一些问题。


使用IE 11.0.21 (kb-3065822)时,解决了兼容性问题。


是否有人面临同样的挑战?


为什么会出现这种情况以及如何在补丁11.0.20中解决,因为11.0.21的更新将再次出现需要更多时间。


解决方案


你在页面中有一个有效的文档类型声明吗?


你使用innerHTML赋值吗?你从你的描述中使用了document.write语句吗?


听起来你上个月遇到了修复问题,部分解决了innerHTML赋值和document.write语句的问题......全部修复涉及纠正您的dtd和x-ua元值以使用documentMode
> 8。


为什么使用IE7 x-ua meta?您应该编写标准代码并为测试堆栈中的浏览器提供优雅的后备....(modernizr.js,jquery.js,html5.js)



Intranet网站可能已经在使用IE7仿真(请参阅工具>兼容性视图设置>"在兼容性视图中包含Intranet网站",文件>属性菜单,以确定您的网站
域名的IE安全区域(Int​​ernet,Intranet)映射到。)


如果您可以在此论坛中提供指向您的网站或公共混搭(jsfiddle)的链接,那将非常有用。


问候。


Hello,

It seems there is some issue with Microsoft IE 11.0.20 (kb-3058515) as Compatibility META tag is not working properly. EMulateIE7 is having some issue with display of page.

When use the IE 11.0.21 (kb-3065822) then the compatibility issue is resolved.

Did anybody face the same challenge?

Why this is the case and how it could be resolved in patch 11.0.20 as update to 11.0.21 will again take more time.

解决方案

Hi,

do you have a valid document type declaration in the page?

do you use innerHTML assignments? do you use document.write statements?

from your description it sounds like you are encountering a fix for last month that partly addressed issues with innerHTML assignments and document.write statements... the full fix involves correcting your dtd's and x-ua meta values to use a documentMode > 8.

Why are you using the IE7 x-ua meta? You should be coding to standards and providing a gracefull fallback for browsers in your testing stack.... (modernizr.js, jquery.js, html5.js)

Intranet web sites may already be using IE7 emulation (see Tools>Compatibility View settings>"Include Intranet sites in compatibility view", File>Properties menu to determine which IE security zone  (Internet, Intranet) your website domain maps to.)

Its helpful if you can provide a link to your website or a public mashup (jsfiddle) with your questions in this forum.

Regards.


这篇关于IE 11兼容模式IE 11.0.20中的META标记问题,但IE 11.0.21没有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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