I have 3 divs that are inside a parent div, but the parent div "main" won't adjust the height to fit all the contents of div inside.
<div id="main" style="width: 1000px; height: 100% overflow: hidden;">
<div id="menu" style="width:250px; float: left;">
<ul>
<li>Menu items</li>
<li>Menu items</li>
<li>Menu items</li>
</ul>
</div>
<div id="content" style="width:500px; height: 1000px float: left;">
<p>CONTENT</p>
</div>
<div id="menu" style="width:250px; float: left;">
<ul>
<li>Menu items</li>
<li>Menu items</li>
<li>Menu items</li>
</ul>
</div>
</div>
As you can see above the height of "content" is 1000px but the parent "main" won't adjust to be 1000px, it just stops displaying the content of "content" since "main" runs out of height.
How can I solve this?