Footer layout : footer « Layout « HTML / CSS






Footer layout

 

<!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>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>
<style type="text/css" title="text/css">
#navigation a:link {
  font-weight: bold;
  font-size: 200%;
  text-decoration: none;
  color: #666;
}

#navigation a:hover {
  text-decoration: underline;
}

a:link {
  font-weight: bold;
  color: #aaa;
}

#footer a {
  font-size: 80%;
}

a:active {
  background-color: red;
}

#navigation a:active {
  background-color: transparent;
}
</style>
</head>
<body>
    <div id="footer">
        <a href="index.html">Homepage</a> | <a href="">Products</a> | <a href="contact_details.html">Contact details</a>
    </div>
</body>
</html>

 








Related examples in the same category

1.Fixed footer
2.Mark footer with DIV
3.Set paragraph in footer
4.Set footer to left clear
5.Header, footer, side bar and content
6.Footer: clear left
7.3 column layout with equalising columns and footer
8.Footer with bottom offset
9.Table footer background and color
10.footer border