title: finding the div height always return zero jquery
body: <p>I am using jquery to find div's height, but it always returns zero. I can clearly see the height of the div in chrome's inspect element css window. </p>
  
  <pre><code>&lt;div class="findheight"&gt;some text here&lt;/div&gt;//original height is 21px
  </code></pre>
  
  <p>But when i do the following it returns zero: </p>
  
  <pre><code>$('.findheight').height() //it always returns zero. really making me sick 
  </code></pre>
  
  <p>So I thought div might not have text when i call height method on it and i did like below.</p>
  
  <pre><code>  if($('.findheight').text().length &gt; 6){
        alert($('.findheight').height());//This also returns zero so weird 
   }
  </code></pre>
  
  <p>I also tried by setting <code>windows.timeout</code>call, but that does not help with any delay time. </p>
  
  <p>Can any one help me why I am always getting zero?</p>