title: How to detect overflow in div element?
body: <p>How can I detect vertical text overflow in a div element?</p>
  
  <p>CSS:</p>
  
  <pre><code>div.rounded {
     background-color:#FFF;
     height: 123px;
     width:200px;
     font-size:11px;
     overflow:hidden;
  }
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div id="tempDiv" class="rounded"&gt;
      Lorem ipsum dolor sit amet,
      consectetur     adipiscing elit. Phasellus vel quam vestibulum orci blandit laoreet. 
  &lt;/div&gt;
  </code></pre>