Posted By

benedikt on 08/02/09


Tagged

css html align alignment vertical


Versions (?)

Vertical align Content


 / Published in: HTML
 

URL: http://blog.themeforest.net/tutorials/vertical-centering-with-css/

  1. #floater {float:left; height:50%; margin-bottom:-120px;}
  2. #content {clear:both; height:240px; position:relative;}
  3.  
  4. <div id="floater">
  5. <div id="content">
  6. Content goes here
  7. </div>
  8. </div>

Report this snippet  

You need to login to post a comment.