Copy the CSS into a file named styles.css and save it in the same directory as your HTML.
html, body {
margin: 0;
padding: 0;
border: 0;
}
body { background-color: #ccc; /* change the color to your background color */ }
#main {
width: 80%;
max-width: 1000px;
background-color:#fff;
border: solid black medium; /* remove if you don't want a border */
margin: 2em auto;
padding: 1em;
}
You are free to use any of the free Web templates here for personal or commercial designs, either in print or on the Web, excluding items for resale. You may not give away, sell, or redistribute the files in any way. Do not post these files on any another website, electronically distribute them, or include them in any package for distribution. If you find these files useful, please include a credit line or a link back to this site [http://webdesign.about.com/]. Terms of use last modified 12/07/2008.
p]Return to Centered Column LayoutMore 1-Column Layouts
More XHTML CSS Layout Templates

