Example!
Put this in the page header (or external stylesheet):
<STYLE TYPE=“text/css”>
<!—
#mainMenu {
list-style: none;
}
#mainMenu a {
line-height: 27px;
display: block;
width: 149px;
height: 28px;
padding:0px 0 0 4px;
color: #000;
font-weight: bold;
font-size: 13px;
text-decoration: none;
background: url(../images/menu.gif) no-repeat top left #FFF;
}
#mainMenu a:hover{
background: url(../images/hoover_menu.gif) no-repeat top left #fff;
width: 149px; padding:0px 0 0 4px;color: #740414;
height: 28px;font-weight: bold;
}
#mainMenu a#selected {
background: url(../images/select_menu.gif) no-repeat top left #FFF;
color: #740414;font-weight: bold;
}
—>
</STYLE>
Put this in the htmlpage:
<ul id="mainMenu">
<li><a name="selected" id="selected" href="index.php">Home</a> </li>
<li><a href="contact.php">Contact</a></li>
<li><a href="links.php">Links</a></li>
</ul>
That’s all!