title: CSS - relative positioned parent div not stretching to absolute child div height
body: <p>I've been googling this all morning and can't seem to get it to work:</p>
  
  <p>I have a parent DIV with Relative positioning and a two column child DIV setup inside of it, both positioned Absolute.
  I need the parent DIV's height to stretch with the content of the inner DIV's.</p>
  
  <p>I have tried putting a .clearfix type bit before the closing tags for #content but I'm not floating anything.  I've also tried adding a float attribute to the #content div to no avail.  Can anyone point me to the right direction here.  Clearly I'm missing something with how the nested displays affect each other.</p>
  
  <p>CSS:</p>
  
  <pre><code>#content {
      width: 780px;
      padding: 10px;
      position: relative;
      background: #8b847d;
  }
  
  #leftcol {
      width: 500px;
      position: absolute;
  }
  
  #rightcol {
      width: 270px;
      position: absolute;
      left: 500px;
      margin-left: 10px;
      text-align: center;
  }
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div id="content"&gt;
      &lt;div id="leftcol"&gt;
          &lt;p&gt;Lorem Ipsum&lt;/p&gt;
      &lt;/div&gt;&lt;!-- /leftcol --&gt;
      &lt;div id="rightcol"&gt;
          &lt;img src="images/thumb1.jpg"&gt;
          &lt;img src="images/thumb2.jpg"&gt;
      &lt;/div&gt;&lt;!-- /rightcol --&gt;
      &lt;br style="clear:both;"&gt;
  &lt;/div&gt;&lt;!-- /content --&gt;
  </code></pre>