Posted By

martin_rusev on 11/18/09


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

nerdfiles


Center div with position absolute


 / Published in: CSS
 

  1. xyz
  2. {
  3. width: 140px;
  4. position: absolute;
  5. top: 0px;
  6. left: 50%;
  7. margin-left: -70px;
  8. }

Report this snippet  

You need to login to post a comment.