One column: header, content : One Column « Layout « HTML / CSS

HTML / CSS » Layout » One Column 
One column: header, content
   


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style rel="stylesheet" type="text/css">

#wrapper 
 width: 922px;
}
#header {
 width: 900px;
 color: #333;
 border: 1px solid #ccc;
 height: 100px;
 background-color:#F3F2ED;
}
#content 
 width: 900px;
 color: #333;
 border: 1px solid #ccc;
 background:#eee;
 height: 350px;
}
</style>
</head>
<body>

<div id="wrapper">
  <div id="header"><h1><a href="">This is a test. </a></h1></div>
  <div id="content"> This is the content </div>
</div>

</body>
</html>

   
    
  
Related examples in the same category
1.One column with two DIV section
2.Single column
3.Header with one column under
4.One column with content on the top and menu at the bottom
5.One column with content on the top and menu at the bottom, and margin in between
6.One column with header and footer only
7.1 column, header, content, footer
8.Single column with header and footer
9.Header, sub header, footer with one column
10.One column with header and footer
11.Single Columns with CSS
12.Liquid Design in CSS
13.Article layout
14.Fixed One-Column Layout (Basic)
15.Fixed One-Column #2 Layout (Basic)
16.Fixed height, three parts, single column
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.