Posted By

kebarton01 on 02/04/11


Tagged

div center


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

karstenrowe
abbyabigale


center a div


 / Published in: HTML
 

  1. <div id="wrapper">
  2. All the content that you want to be centered inside the wrapper goes here.
  3. </div>
  4.  
  5.  
  6. #wrapper {
  7. margin: 0 auto;
  8. width: 960px;
  9. }

Report this snippet  

You need to login to post a comment.