希望这可以帮助你:
请参阅http://jsbin.com/acuhuy/5/edit
<div id="nav">
<ul id="menu">
<li class="menu-item"><a href="Home Page.html">Home Page</a></li>
<li class="menu-item"><a href="Information.html">Information</a></li>
<li class="menu-item"><a href="Forum.html">Forum</a></li>
<li class="menu-item"><a href="Interests.html">Interests</a></li>
</ul>
</div>
CSS
div#nav{
position:relative;
}
ul#menu{
}
li.menu-item{
list-style:none;
position:relative;
float:left;
width:80px;
height:27px;
padding-top:2px;
margin-right:5px;
text-align:center;
background-image:url('http://www.wpclipart.com/blanks/buttons/glossy_buttons/glossy_button_blank_black_rectangle.png');
background-size:80px 27px;
background-repeat:no-repeat;
cursor:pointer;
}
li.menu-item a{
text-decoration:none;
color:#f0f0f0;
}
li.menu-item:hover{
opacity:0.8;
}