Return to Snippet

Revision: 20889
at November 30, 2009 02:31 by xTraCD


Initial Code
html {
     margin:0;
     padding:0;
     width:100%;
     height:100%;
     text-align:center; /* IE text-align fix */
     background-color:#2c2c2c;
}
body {
     position:relative;
     text-align:left; /* fixing the IE bug with the text */
     margin:0 auto;
     height:100%;
     width:960px; /* change this width to what you want */
     background-color:#fefefe;
}

Initial URL

                                

Initial Description
I'm tired of <div id="container">

Initial Title
Using <body>  as <div id="container">

Initial Tags
css

Initial Language
CSS