title: CSS: How to make left float div to adjust height dynamically?
body: <p>How can I make my floated left div with a static content to adjust automatically its height to the same height of the right floated div with a dynamic content?</p>
  
  <p>So what I am trying to accomplish is that the both left and right div will have the same height (left div adjusting automatically to the right div's height)</p>
  
  <p>Below is the sample code.</p>
  
  <p>Thanks in advance :)</p>
  
  <p>Cheers,
  Mark </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;style type="text/css"&gt;
          body {
              font-family:verdana;
              font-size:12px;
          }
          .parent {
              border:1px solid red;
              width:530px;
              /*min-height:100%;*/
              padding:5px;
          }
          .left {
              border:1px solid blue;
              width:200px;
              float:left;
              position:relative;
              padding:3px;
          }
          .right {
              border:1px solid green;
              width:300px;
              float:right;
              position: relative;
              padding:3px;
          }
          .clr { clear:both; }
          .footer {
              border:1px solid orange;
              position: relative;
              padding:3px;
              margin-top:5px;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div class="parent"&gt;
          &lt;div class="left"&gt;float left div here only static content&lt;/div&gt;
          &lt;div class="right"&gt;
              float right div dynamic content here&lt;br /&gt;
              float right div dynamic content here&lt;br /&gt;
              float right div dynamic content here&lt;br /&gt;
              float right div dynamic content here&lt;br /&gt;
              float right div dynamic content here&lt;br /&gt;
              float right div dynamic content here&lt;br /&gt;
              float right div dynamic content here&lt;br /&gt;
              float right div dynamic content here&lt;br /&gt;
          &lt;/div&gt;
          &lt;div class="clr"&gt;&lt;/div&gt;
          &lt;div class="footer"&gt;Footer here&lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>