here are my codes.
<body>
<div id=“main-nav”>
<ul>
<li>home</li>
<li>about us</li>
<li>promotion</li>
<li>products</li>
<li>links</li>
<li>contact</li>
</ul>
</div>
<div id=“container”>
<div id=“flash”>
<p>some text goes in here</p>
</div>
<div id=“quick-links”></div>
<div id=“contents”>
<h1>SOME TITLE</h1>
</div>
</div>
<div id=“footer”></div>
</body>
</html>
CSS
body {
background-color: #8f8a84;
margin: 10px;
font-family:“Lucida Grande”,arial;
}
#container {
background-image: url(images/bg.jpg);
background-repeat: repeat-y;
width: 832px;
margin: auto;
}
a:link { color: #B52C07; }
a:visited { color: #600; }
a:hover, a:active {
color: #fff;
background-color: #B52C07;
}
#main-nav {
background-image: url(images/main-nav.png);
background-repeat: no-repeat;
width: 832px;
height: 72px;
margin: auto;
}
#main-nav ul {
margin: 0 0 0 40px;
padding-top: 20px;
list-style-type: none;
}
#main-nav li {
display: inline;
margin-left: 0px;
padding: 0 10px;
}
#main-nav li a {
text-decoration: none;
color: #272900;
}
#main-nav li a:hover {
text-decoration: none;
color: #fff;
background-color: #272900;
}
#flash {
width: 800px;
height: 140px;
margin-top: 0px;
margin-left: 15px;
margin-right: 16px;
margin-bottom: 10px;
background-color: #99FF66;
}
#quick-links {
width: 250px;
height: 300px;
background-color: #CC6600;
float: right;
margin-right: 20px;
margin-top: 10px;
}
#contents {
width: 500px;
height: 500px;
background-color: #3366FF;
margin-left: 20px;
margin-right: 20px;
margin-top: 20px;
}
#footer {
background-image: url(images/footer.jpg);
background-repeat: no-repeat;
width: 832px;
height: 113px;
margin: auto;
}