Well to start off, always use divs to format your template, never tables.
A basic website with an along the top menu would be something like:
<div id="header">
<div id="menu">
<a href="home.php"><img src="home_button.jpg" /></a>
<a href="aboutus.php"><img src="aboutus_button.jpg" /></a>
<a href="contactus.php"><img src="contact_button.jpg" /></a>
<a href="faq.php"><img src="faq_button.jpg" /></a>
</div>
</div>
And then on the CSS page that you're linking to, it would look something like this:
#header
{
width: 800px;
height: 300px;
background-image: url(images/header_bg.jpg);
background-repeat: no-repeat;
text-align: center;
}
#menu
{
width: 800px;
height: 50px;
position: relative;
top: 250px;
text-align: center;
background-image: url(menu_bg.gif);
background-repeat: repeat-x;
}
This basically places a menu bar inside of the header. The header is 300px tall, and the menu is 50px tall. With position: relative, we tell the browser that we're about to move the menu away from the position where it's supposed to be (at the very top of the header div). So then, we go ahead and put top: 250px, which makes it so the TOP of the menu div is 250px below where it's supposed to be, making the bottom of the menu line up perfectly with the bottom of the header.
Then, with the text-align: center; we just center the menu buttons (home, contact us, about us, faq) etc.
Hope this helps.
If you want to see an in depth example, I made a website a while ago that used this basic format.
http://www.conejofamilydentist.comand the style sheet is
http://www.conejofamilydentist.com/style.cssThis post has been edited by Ryanmiller: 21 Jun, 2009 - 12:50 AM