Everything Container: Centered, Fixed Width


/ Published in: CSS
Save to your folder(s)

Fixed width div centered on the page. Text align is left justify inside the div.


Copy this code and paste it in your HTML
  1. body {text-align:center;}
  2. div#everything {text-align:left;width:960px;margin:0 auto;}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.