<div id='container' >
<div id='content' > </div>
<div id='rightPane' > </div>
</div>
In the structure above content and rightPane are childs of container div. They contain the content and they expand in height with the growing content but the container div does’nt expand with it. I want to know the reason for it. Also i want to know when i apply overflow:hidden to container it starts expanding with the content in child divs. What happens when we apply overflow:hidden to the container parent div.
Hope this will be helpfull for you..
http://www.quirksmode.org/css/overflow.html