title: hide border if there is no content
body: <p>On a div I have css set:</p>
  
  <pre><code>div.class {border: 1px solid red;}
  </code></pre>
  
  <p>The div is positioned absolutely in the center of the page. The problem is that the border appears even if there is no content. </p>
  
  <p>Any css methods to get the border to not appear if there is no content?</p>