Posted By

pillow86 on 06/24/10


Tagged

div center


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

batamire
barakbl


Center align a div


 / Published in: CSS
 

  1. position:relative;
  2. margin: 0px auto;

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: maunnes on June 26, 2010

we can do it without "position:relative;"

You need to login to post a comment.