title: How to set parent div height to self adapt to the inner div height?
body: <p>I have a parent div and 2 sub div as follow:</p>
  
  <pre><code>&lt;div class="parent"&gt;
      &lt;div style="height:100px; float:left;" &gt;
          aaa
      &lt;/div&gt;
      &lt;div style="height:200px; float:left;"&gt;
          bbb
      &lt;/div&gt;
  &lt;/div&gt;​
  </code></pre>
  
  <p>How to set the "parent" css to adapt to the largest height of inner div? In this case: 200px</p>
  
  <p>PS: Neither <code>height=100%</code> nor <code>height=auto</code> works.</p>
  
  <p>Thanks.</p>