title: Parent div does not grow to fit content
body: <p>I have 3 divs that are inside a parent div, but the parent div &quot;main&quot; won't adjust the height to fit all the contents of div inside.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="main" style="width: 1000px; height: 100% overflow: hidden;"&gt;
    &lt;div id="menu" style="width:250px; float: left;"&gt;
      &lt;ul&gt;
        &lt;li&gt;Menu items&lt;/li&gt;
        &lt;li&gt;Menu items&lt;/li&gt;
        &lt;li&gt;Menu items&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
    &lt;div id="content" style="width:500px; height: 1000px float: left;"&gt;
      &lt;p&gt;CONTENT&lt;/p&gt;
    &lt;/div&gt;
    &lt;div id="menu" style="width:250px; float: left;"&gt;
      &lt;ul&gt;
        &lt;li&gt;Menu items&lt;/li&gt;
        &lt;li&gt;Menu items&lt;/li&gt;
        &lt;li&gt;Menu items&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>As you can see above the height of &quot;content&quot; is 1000px but the parent &quot;main&quot; won't adjust to be 1000px, it just stops displaying the content of &quot;content&quot; since &quot;main&quot; runs out of height.</p>
  <p>How can I solve this?</p>