奇怪的 IE6/IE 布局错误
我在使用 IE6 和我们的网站时遇到了不少问题。
http://www.sweetlets.com/w/solutions/click-stream /features/
在 IE6 中,预告框的最顶部有滚动条,但在 IE7、IE8、FF 或 Chrome 中没有。有人对此有解释吗?
页脚中的效果与一排 3 个框相同。还有滚动条。从数学上讲,所有内容都适合 960px 的行。我添加了填充、边距、边框和宽度,甚至保留了一些像素......
我根本不知道出了什么问题。有什么想法吗?
I've had quite a few problems with IE6 and our website.
http://www.sweetlets.com/w/solutions/click-stream/features/
At the very top the teaser boxes have scrollbars in IE6, but not IE7, IE8, FF or Chrome. Does anyone have an explanation for this?
Same effect in the footer with the 3 boxes in one row. Also scrollbars. Mathematically all fits into the row of 960px. I added up paddings, margins, borders and width and even kept some pixels left...
I simply don't know what is wrong. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定它是否会修复它,但我会在
#cf_content
上放置一个clear: Both
并删除以下内容的溢出:Not sure if it'll fix it but I'd put a
clear: both
on#cf_content
and remove overflow on the following:您可以在
#cf_content_teaser
上设置overflow:hidden;
以消除滚动条。不知道如果这能解决问题是否值得进一步调查。你可以将同样的方法应用到它发生的任何其他 div 上。You can set
overflow:hidden;
on the#cf_content_teaser
to get rid of the scrollbars. Dunno if it's worth investigating further if that resolves the issue. You can apply the same to whatever other div it's happening on.