One column with header and footer only : One Column : Layout Attributes HTML CSS TUTORIALS


HTML CSS TUTORIALS » Layout Attributes » One Column »

 

One column with header and footer only


 

<!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">

#header {
 width: 900px;
 padding: 10px;
 border: 1px solid #ccc;
 height: 250px;
 margin: 10px 0px 5px 0px;
 background-color:#F3F2ED;
}
#footer 
 width: 900px;
 border: 1px solid #ccc;
 background: #DAC8BF;
 margin: 0px 0px 10px 0px;
 padding: 10px;
 height: 250px;
}
</style>
</head>
<body>

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

</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Layout Attributes
» One Column