Posted By

ichnoweb on 12/06/10


Tagged

html


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

roybatty


Centered Layout without wrapping


 / Published in: CSS
 

URL: http://www.webkrauts.de/2010/12/04/zentrieren-ohne-zusaetzliches-markup/

  1. html
  2. { background: #a70d0f; }
  3.  
  4. body
  5. { width: 500px;
  6. margin: 20px auto;
  7. padding: 20px;
  8. border: 1px solid black;
  9. background: #f9ddb5;
  10. min-height: 100%; }

Report this snippet  

You need to login to post a comment.