Internet Explorer 7溢出包含div [英] Internet Explorer 7 overflows containing div
问题描述
我正在使用 IP Net Renderer 查看我新安装的
I'm using IP Net Renderer to view my newly installed forum in IE7. If you care to take a look, you can see the forum is overflowing its containing element.
该论坛可以在IE8 +,FF,Chrome和Safari中正确显示,但在IE 7中却不能.
The forum renders correctly in IE8+, FF, Chrome and Safari, but not IE 7. Does anyone know how I can fix this?
谢谢
克里斯
推荐答案
您的.wrapper
类已设置width: 85%;
,但没有溢出规则.尝试将overflow: hidden;
添加到该类中.
Your .wrapper
class has width: 85%;
set but no overflow rules. Try adding overflow: hidden;
to that class.
此外,出于良好的考虑,我建议您将.tborder
类中的width: 100%;
声明替换为width: auto;
.
Also, for good measure, I would suggest you replace the width: 100%;
declaration in your .tborder
class with width: auto;
.
这篇关于Internet Explorer 7溢出包含div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!