问题
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