Internet Explorer 7 overflows containing div

2019-09-02 01:33发布

问题:

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;.