Parent div is smaller than child div?

user1440480 picture user1440480 · Jun 20, 2012 · Viewed 46.9k times · Source

here's my question, i want to fill the content div with white. BUT when i do it , its not filling the whole div. The child div are more bigger and they go over the parent div (content). I want that the content div cover all the child div.

Here's my code

I want also a cross-browsing answer please (IE7, IE8, IE9, Firefox, Chrome, Opera)

Answer

Rodolfo picture Rodolfo · Jun 20, 2012

add overflow: auto to the css for .content