IE7 上的边距问题
The page I am working on can be found here.
In IE7, everything in the main content area is being pushed to the left...
Can someone check it out and let me know what's up?
Here is a screenshot:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我这台计算机上没有 IE7,但看起来您已将
float:left
应用到您的主div
编辑
再看看源代码和页面似乎在 IE7 中以怪异模式呈现。
以下是解决该问题的几种方法:
详细信息:强制 IE7 进入标准渲染模式(不是怪癖)
I don't have IE7 on this computer, but it looks like you have
float:left
applied to your maindiv
EDIT
Had another look at the source and the page appears to be rendering in quirks mode in IE7.
Here are few ways to fix that:
Details here: Forcing IE7 into standards rendering mode (not quirks)
如果这只是 IE7 中的问题,您可能需要尝试 IE7兼容模式
If this is a problem only in IE7, you might wanna try IE7 compatibility mode