title: jquery.height() and float parameter in CSS
body: <p>I'd noticed a strange behaviour of <code>jquery.height()</code> function. Have a look at the following code.</p>
  
  <p>CSS: </p>
  
  <pre><code>div.text-field {
      font-family: sans-serif;
      margin: 3px;
      float: left;
  }
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div id="someid"&gt;
    &lt;div class="text-holder"&gt;
      &lt;div class="text-field"&gt;text here&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>console.log($("someid").find("text-holder").height());
  </code></pre>
  
  <p>The last line outputs <code>0</code> if I have <code>float: left;</code> in CSS file, and otputs real height if I remove <code>float: left;</code>. What is the reason of such a behaviour? Can I use <code>height()</code> function together with <code>float: left;</code>?</p>