Internet Explorer 7 overflows containing div

回眸只為那壹抹淺笑 提交于 2020-01-16 16:14:03

问题


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.

The forum renders correctly in IE8+, FF, Chrome and Safari, but not IE 7. Does anyone know how I can fix this?

Thanks,

Chris


回答1:


Your .wrapper class has width: 85%; set but no overflow rules. Try adding overflow: hidden; to that class.

Also, for good measure, I would suggest you replace the width: 100%; declaration in your .tborder class with width: auto;.



来源:https://stackoverflow.com/questions/5560873/internet-explorer-7-overflows-containing-div

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!