Another quite nice way to do background image in the button and create
:hover status is to use <ul> structure.
Create the following on your page:
<ul id="nav">
<li><a href="#" title="home">home</a></li>
<li><a href="#" title="about us">about us</a></li>
<li><a href="#" title="services">services</a></li>
<li><a href="#" title="contact us">contact us</a></li>
</ul>
Now create a stylesheet with the following formatting:
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #333333;
}
#nav {
margin: 0px;
padding: 0px;
list-style-image: none;
list-style-type: none;
border: 1px solid #2E4156;
height: 25px;
width: 600px;
}
#nav li {
margin: 0px;
padding: 0px;
float: left;
display: block;
background-attachment: scroll;
background-image: url(nav_hover.gif);
background-repeat: repeat-x;
background-position: 0px 50%;
height: auto;
width: auto;
}
#nav li a:link, #nav li a:visited, #nav li a:active {
text-decoration: none;
color: #f1f1f1;
display: block;
width: 150px;
margin: 0px;
height: 20px;
text-align: center;
padding: 5px 0px 0px 0px;
float: left;
background-attachment: scroll;
background-repeat: repeat-x;
background-position: 0px 50%;
background-image: url(nav.gif);
}
#nav li a:hover {
text-decoration: none;
background-image: none;
}
To make it work download the images from attachment.
I hope you'll find it useful.
Take care,