title: Container div ignores height of floated elements
body: <p>Ok, so this seems like a really silly problem but I can't get my container div to inherit the height of the floated elements inside of it. Since I need to center the container div, I can't use float to fix this problem. Here is my css:</p>
  
  <pre><code>#container {
  margin: 0 auto;
  width: 1000px;
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  }
  
  #focus {
  padding-left: 23px;
  width: 977px;
  padding-top: 20px;
  padding-bottom: 23px;
  border-bottom: 1px solid #f1f1f1;
  float: left;
  }
  
  .rslider {
  float: left;
  width: 600px;
  margin-left: 15px;
  }
  
  .welcome {
  float: left;
  width: 300px;
  }
  </code></pre>
  
  <p>Html:</p>
  
  <pre><code>&lt;div id="container"&gt;
     &lt;div id="logo_block"&gt;
     &lt;a href="#"&gt;&lt;img src="img/logo.jpg" alt="" /&gt;&lt;/a&gt;
     &lt;/div&gt;
     &lt;div id="focus"&gt;
      &lt;div class="welcome"&gt;
      &lt;h1&gt;All About This Page&lt;/h1&gt;
      &lt;p&gt;Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, liquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.&lt;/p&gt;
      &lt;/div&gt;
     &lt;div class="rslider"&gt;
      &lt;img src="img/slider_image.jpg"&gt;
     &lt;/div&gt;
     &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>Any ideas?</p>