Return to Snippet

Revision: 16388
at August 2, 2009 16:57 by benedikt


Initial Code
<style>
 #floater {float:left; height:50%; margin-bottom:-120px;}
 #content {clear:both; height:240px; position:relative;}
</style>

<div id="floater">
 <div id="content">
  Content goes here
 </div>
</div>

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

Initial Description


Initial Title
Vertical align Content

Initial Tags
css, html

Initial Language
HTML