I have done the hard bit of the navigation bar, but I have some questions.
Here is what it should look like;

This is my current code;
<!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>Daily Network</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="wrapper"> <div id="navWrapper"> <div id="navBack"> <img src="navBan.png" alt="Nav Background" /> <div id="navList"> <ul id="leftList"> <li><a href="http://www.dailyw.org">DailyW</a></li> <li><a href="http://www.dwtorrents.org">Torrents</a></li> <li><a href="http://www.dailyw.org">Image Hosting</a></li> </ul> <ul id="rightList"> <li><a href="http://www.postgenerator.com">Post Generator</a></li> <li><a href="http://www.tutorials.dailyw.org">Tutorials</a></li> <li><a href="http://www.dailyw.org">Proxy</a></li> </ul> </div> </div> </div> </div> </body> </html>
CSS
body {
background-color: black;
padding: 0px;
color: white;
}
/* Navigation Bar */
/* Main Nav Wrapper */
div#navWrapper {
width: 100%;
background: url('hdB.png') no-repeat fixed top center;
}
div#navBack {
width: 100%;
text-align: center;
background: url('navB.png') repeat-x;;
}
/* Nav lists */
div#navList {
margin: 0;
padding: 0;
}
ul#leftList {
float: left;
list-style: none;
margin: 0px;
padding: 0px;
}
ul#rightList {
float: right;
list-style: none;
margin: 0px;
padding: 0px;
}
ul#leftList li {
display: inline;
}
ul#rightList li {
display: inline;
}
I have tried a few things. The problem I encounter with this is I want it to be right against the edges of the window. I have tried padding and margin to body and div#wrapper.
The other problem is the list of the navigation is below all the DIV's. It's ment to be over the first one. So basically at the top of the page.
How do I fix these 2 problems please?


Sign In
Create Account


Back to top









