Posted By

rickygri on 02/23/12


Tagged

center align


Versions (?)

Center Div


 / Published in: CSS
 

Align a div / element center in its parent

  1. .center {
  2. display: block;
  3. margin-left: auto;
  4. margin-right: auto;
  5. }

Report this snippet  

You need to login to post a comment.