问题描述:
用Extjs 4.2.1 开发的web程序在chrome中访问正常,在IE8中通过localhost本地/本机访问页面显示也正常,但是通过机器名或ip地址访问时页面有点区别,滚动条部分有点问题.
原因:
IE浏览器兼容性问题。
类似问题的帖子可以参考如下页面:
[url]http://stackoverflow.com/questions/4951127/odd-behaviour-in-web-page-when-page-uses-localhost-vs-machines-name[/url]
[url]http://stackoverflow.com/questions/1841009/web-page-different-display-with-localhost-and-ip-address[/url]
详细原因你可以浏览如下知识页面
[url]http://msdn.microsoft.com/en-us/library/cc288325%28VS.85%29.aspx[/url]
解决方案:
对于IE8,你可以在head标签内添加如下内容:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
用Extjs 4.2.1 开发的web程序在chrome中访问正常,在IE8中通过localhost本地/本机访问页面显示也正常,但是通过机器名或ip地址访问时页面有点区别,滚动条部分有点问题.
原因:
IE浏览器兼容性问题。
类似问题的帖子可以参考如下页面:
[url]http://stackoverflow.com/questions/4951127/odd-behaviour-in-web-page-when-page-uses-localhost-vs-machines-name[/url]
[url]http://stackoverflow.com/questions/1841009/web-page-different-display-with-localhost-and-ip-address[/url]
详细原因你可以浏览如下知识页面
[url]http://msdn.microsoft.com/en-us/library/cc288325%28VS.85%29.aspx[/url]
解决方案:
对于IE8,你可以在head标签内添加如下内容:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
本文解决了一个在IE8浏览器下使用Extjs 4.2.1开发的Web程序出现的滚动条显示异常问题。该问题仅在通过机器名或IP地址访问时出现,通过在head标签中加入特定的兼容性元信息得以解决。
1558

被折叠的 条评论
为什么被折叠?



