Internet Explorer 的兼容性视图破坏了我的网站设计
我的网站设计在 Mozilla 中看起来不错。 但是当我尝试在 IE 中运行时,设计看起来不太好。 当 IE 菜单中“工具”选项的兼容性视图未选中时,设计看起来不错。但默认情况下会检查兼容性视图。
默认情况下我们可以取消选中兼容性视图还是他们有其他问题?
My website design is looking fine in Mozilla.
But when I try to run in IE, the design is not looking fine.
When the compatibility view from Tools option in menu of IE is unchecked, the design is looking fine. But by default the compatability view is checked.
Can by default can we uncheck the compatability view or is their any other problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
即使您自己在不使用 IE8 中的兼容性视图的情况下查看该网站,其他用户仍然会在 IE6/7 等浏览器中查看该网站。
最好解决导致设计错误的问题,这样您就不会解决问题。
如果您发布的 html 标记/css 似乎是问题所在,我相信这里有很多人可以提供帮助。
Even if you are viewing the website by yourself without using the Compatibility view in IE8, other users are still going to be viewing the website in IE6/7 and other browsers.
It would be best to fix the problems that are causing the design faults so that you are not working around the problem.
If you post your html markup/css that seems to be the issue, I am sure there are many people here who can help.
是的。描述“兼容性视图”的相关文档是 Internet Explorer 8 准备工具包
Yes. The relevant document describing "Compatibility View" is the Internet Explorer 8 Readiness Toolkit
在找出真正的原因之前,元标记解决方案将是一个很好的临时修复方案。然而,元标记并不能真正允许您控制浏览器的运行模式。它似乎只是从浏览器中删除了可点击的图标。
The meta tag solution would be a good temp fix until the real cause could be sorted out. However the meta tag doesn't really allow you to control which mode the browser operates in. It seems to simply remove the click-able icon from the browser.
根据 强制 IE8 进入 IE7 兼容模式 ,
您可以添加以下标记以使 IE8 呈现为 IE7:
但我认为最好清理 HTML,以便它在 IE7 和 IE8 中都能正常工作。
According to Force IE8 Into IE7 Compatiblity Mode ,
you can add the following tag to make IE8 render as IE7:
But I think that is is better that you cleanup your HTML so it works correctly in both IE7 and IE8.