Adding links in to the header
<!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 type="text/css">
body {
margin: 10px 40px;
padding: 0;
text-align: center;
font-size: 62.5%;
}
#wrapper {
text-align: left;
border: 1px solid #033;
position: relative;
font-size: 1.4em;
}
#header {
background: red;
color: #fff;
height: 55px;
position: relative;
}
#header h1,#header h2 {
position: absolute;
padding: 0;
margin: 0;
}
#header h1 {
top: 5px;
left: 8px;
height: 50px;
background: gold;
}
#header h2 {
top: 20px;
left: 193px;
}
#headerlinks {
float: right;
font-size: 0.8em;
background: blue;
padding: 6px 6px 8px 10px;
}
#headerlinks a:link,#headerlinks a:visited,#headerlinks a:hover,#headerlinks a:active
{
color: #fff;
}
</style>
</head>
<body id="cols3">
<div id="wrapper">
<div id="header">
<h1>header</h1>
<h2>header 2</h2>
<div id="headerlinks">
<a href="">Contact Us</a> |
<a href="">Site Map</a> |
<a href="">Store Locator</a></div>
</div>
</div>
</body>
</html>
Related examples in the same category