Vertical align centering


/ Published in: XHTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #floater{
  2. height:50%;
  3. margin-bottom:-207px;
  4. }
  5. #content{
  6. height:415px;
  7. position:relative;
  8. border:solid 1px red;
  9. }
  10.  
  11. <div id="floater"></div>
  12. <div id="content">here content</div>

URL: pokrvsiii.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.