Skip to content

Instantly share code, notes, and snippets.

@stijnj
Created April 11, 2012 12:21
Show Gist options
  • Save stijnj/2359012 to your computer and use it in GitHub Desktop.
Save stijnj/2359012 to your computer and use it in GitHub Desktop.
Centered website
/**
* Centered website
*/
.container { width: 960px; margin: 0 auto; border: 1px solid red; }
<!-- content to be placed inside <body>…</body> -->
<div class="container">
centered content
</div>
{"view":"split","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment