One column with content on the top and menu at the bottom : One Column « Layout « HTML / CSS






One column with content on the top and menu at the bottom

   


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title></title>
  <style type="text/css">
#content {
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 0px;
  margin-right: auto;
  margin-left: auto;
  background-color: #fff;
  border: 1px solid #000;
  width: 70%;
}
#navBar {
  padding: 0px 10px 0px 10px;
  margin-top: 0px;
  margin-bottom: 5px;
  margin-right: auto;
  margin-left: auto;
  background-color: #fff;
  border-top: 0px;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  width: 70%;
  text-align: right;
}
  </style>
</head>


<body>
  <div id="content">
  this is a test. this is a test. this is a test. this is a test. this is a test. 
  this is a test. this is a test. this is a test. this is a test. this is a test. 
  this is a test. this is a test. this is a test. this is a test. this is a test. 
  this is a test. this is a test. this is a test. this is a test. this is a test. 
  this is a test. this is a test. this is a test. this is a test. this is a test. 
  </div>
  <div id="navBar">
  &lt;back |home |next&gt;
  </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, and margin in between
5.One column with header and footer only
6.One column: header, content
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