title: What elements will a div auto height by?
body: <p>I have a div with <code>height:auto;</code></p>
  
  <p>I do see that it will resize based on some elements. It does resize with just plain text for instance.
  However, if i set a child div with specified size, the parent <code>height:auto;</code> div will not resize to fit around that child div.</p>
  
  <p>So i was wandering if maybe changing the Display type would help? (no luck so far though).</p>
  
  <p>Thanks</p>
  
  <p>EDIT:
  There are no floats inside the parent div, if not absolute elements are considered float?
  The parent div is position:relative;
  and the child div is absolute.
  When i tried to use overflow:auto; on the parent div, scroll bars appeared on the parent div instead if making it bigger when needed.</p>
  
  <p>Thanks for the replies!</p>
  
  <pre><code>&lt;div style="height: auto; position:relative"&gt;
  &lt;div style="height: 50px; position:absolute;"&gt;ALOHA&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>