title: child div position absolute parent height not working
body: <p>Parent div height not working.</p>
  
  <p><strong>wrap</strong> height not working.i need both child div absolute.and i need css tricks for this.no need jquery.</p>
  
  <p>any one can help me.</p>
  
  <pre><code>&lt;div class="wrap"&gt;
      &lt;div class="clild"&gt;&lt;/div&gt;
      &lt;div class="clild2"&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  
  &lt;style&gt;
  .wrap{
      position:relative;
      display:block;
      width:600px;
      margin:0 auto;
  }
  .clild{
      position:absolute;
      width:450px;
      height:200px;
      background:#069;
  }
  .clild2{
      position:absolute;
      width:350px;
      height:300px;
      background:#096;
  }
  &lt;/style&gt;
  </code></pre>