Div with bigger width than parent div increases parent's width in Internet Explorer

Associate
Joined
15 Feb 2006
Posts
1,872
Location
hell
Hi guys

I have a really annoying problem here with IE9 (and presumably all versions before that).

Basically I have a container div with a fixed width, and a div within this div with a width that is larger than the container.

Now, in Firefox, Chrome etc this bigger internal div does not increase the width of the container div. In internet explorer it does increase with width to match that of the inner (bigger) div.

Is there anyway to stop this happening?

Thanks
 
Back
Top Bottom