///////////////// CSS ///////////////////////
* {
margin: 0;
padding: 0;
}
body {
text-align: center;
font-size: 75%;
color: #000;
height: 100%;
font: Arial, Helvetica, sans-serif x-small;
}
#wrapper {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
text-align: center;
margin: 0 auto;
}
#header {
width: 100%;
height: 96px;
background: url(../images/headerbg.gif) bottom #003148;
text-align: center;
}
#hc {
width: 900px;
height: 96px;
text-align: center;
margin: 0 auto;
}
#hl {
margin: 0 auto;
text-align: center;
width: 375px;
height: 96px;
float: left;
background: url(../images/logo.gif) left #003148;
}
#navigation {
float: right;
height: 10px;
font-size:93%;
line-height:normal;
padding-top: 38px;
}
ul#nav {
overflow: auto;
width: 100%;
list-style: none;
margin: 0;
padding: 0;
font-weight: bold;
font-family:Arial, Helvetica, sans-serif;
font-size: 93%;
}
ul#nav li {
float: left;
margin: 0;
padding: 0 7px;
}
ul#nav a {
float: left;
text-decoration: none;
padding: 4px 0 16px;
color: #fff;
text-align: center;
}
ul#nav a:hover {
background: url(../images/drop.gif) no-repeat center bottom;
cursor:default;
color: #fff;
}
ul#nav a:active {
background: url(../images/drop.gif) no-repeat center bottom;
color: #278ecb;
}
#hs1 {
width: 100%;
height: 8px;
font-size: 0;
background-color: #005d89;
}
#hs2 {
width: 100%;
height: 8px;
font-size: 0;
background-color: #f3f3f3;
}
#contentParent {
position: relative;
width: 100%;
height: 100%;
background: url(../images/bg.gif) #fff;
}
#content {
width: 900px;
height: 100%;
text-align: center;
margin: 0 auto;
background: #fff;
}
#footer {
background: #000;
color: #fff;
height: 50px;
}
///////////////// HTML //////////////////////
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
</head>
<div id="hl"></div><!-- END #hl -->
<li><a href="#">about us
</a></li>
<li><a href="#">products
</a></li>
<li><a href="#">services
</a></li>
<li><a href="#">contact
</a></li>
</ul>
</div><!-- END #navigation -->
</div><!-- END #hc -->
</div>
<!-- END #header -->
<div id="hs1"></div><!-- END #hs1 -->
<div id="hs2"></div><!-- END #hs2 -->
<div id="content">#CONTENT
</div><!-- END #content -->
</div>
<!-- END #main -->
<div id="footer">#FOOTER
</div>
<!--END #footer -->
</div><!-- END #wrapper -->
</body>
</html>