如果你在使用IE11浏览器访问本网时网页显示不正常

查看数: 10610 | 评论数: 3 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2016-3-1 02:46

正文摘要:

2016年3月3日最新更正:你在使用IE11浏览器访问本网时已经不需要使用“兼容性视图”设置了,现在论坛的首页四格中的最新图片栏里的图片撑破图框的问题已经通过修改程序源码解决了。实际上把文件./static/js/forum_sl

回复

51haoyouadmin 发表于 2016-5-2
实际上IE11还有加载图片明显缓慢和加载不正确的问题。上面谈到把文件./static/js/forum_slide.js中的第108行的代码改成setTimeout(function () { s.loadCheck(); }, 3000);,就是试图解决IE11加载图片的问题。实际上那还是没有完全解决好。这次在/template/default/common/header_common.htm加一行<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />后,就彻底解决了加载图片的问题,而且加载速度快了至少十几倍。
51haoyouadmin 发表于 2016-3-1

如果你在使用英文版的IE11浏览器


How to enable compatibility view in Internet Explorer 11 (IE11)

Starting with Internet Explorer 8, a compatibility view feature was shipped by Microsoft in Internet Explorer to help users deal with web page rendering issues. It was implemented as a button on the address bar. When pressed, it could quickly turn an IE8+ incompatible site to render properly in the current version of Internet Explorer as it switched to the older compatible mode of rendering the same web page at the cost of disabling the new standards supported in edge mode. In the screenshot below, you can see that button in IE10:

In Internet Explorer 11, the compatibility view button is removed from the address bar because document modes are now deprecated. Microsoft felt that the button had outlived his purpose because it's been many years now since Microsoft introduced X-UA-Compatible tags. Web developers were supposed to add these X-UA-Compatible meta tags to their website's HTML header to indicate web page compatibility and not leave it to the user to depend on the button to correctly render the page. Now, Microsoft is expecting all web developers to update their websites to work with the latest edge mode and avoid using document modes, unless on a temporary basis. However, what if some sites still don't render properly? Are you, the user stuck with the loss of this feature and be penalized for the developer not having updated his website? No, in fact, the compatibility view feature still remains in the browser. Here is how you can turn it on or off.


  • Click on the Settings icon in the top right corner of IE11:
  • Select the Compatibility View Settings item in the drop-down menu. The following dialog will appear.
  • Check the "Use Microsoft compatibility lists" checkbox to enable the compatibility view feature. Unticking that checkbox will disable the feature meaning it won't use lists that Microsoft provides to correctly render web pages.
  • You can still force specific sites to always render in compatibility view by adding them in the compatibility view list using the "add this website" option, however web developers are recommended to update their websites to work in IE11's edge mode.

www.51haoyou.com

GMT-5, 2024-12-3 12:29

© 2005-

快速回复 返回顶部 返回列表