1. Home
  2. Computing & Technology
  3. Web Design / HTML

Free Web Template: Two Column Layout with Header and Footer

The CSS

By Jennifer Kyrnin, About.com

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; }
#header {
  width: 800px;
  float: left;
}
#maincontainer {
  width: 800px;
  float: left;
}
#nav {
  width: 200px;
  float: left;
}
#main {
  float: right;
  width: 600px;
}
#footer {
  width: 800px;
  float: left;
}

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 Web site, 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 8/29/2004.

Return to Two Column Layout with Header and Footer
More XHTML CSS Layout Templates

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. Web Design
  5. Principles of Web Design
  6. Layout
  7. Web Site Templates
  8. Free Web Templates
  9. Free Web Template: Two Column Layout with Header and Footer - The CSS

©2008 About.com, a part of The New York Times Company.

All rights reserved.