Should work, i have that need covered on 3 different sites i've made.
Make sure you put the background image into the a:hover style, so it triggers correctly. And that padding/width is correct so it acctually shows. This is some code ripped directly out from one of my working sites, a part of a bigger dynamic dropdown menu i have made and implemented into a selfmade CMS represented on easyweb.thronic.no (norwegian). The top menu there acctually demonstrates the function you are after. But the little snippet below is all you should need to get going.
Code:
#navwrapper a {
display: block;
width: 109px;
background-image: url("easyweb/filarkiv/button_munder.gif");
margin: 0;
padding: 2px 1px 1px 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: normal;
text-decoration: none;
color: #eeeeee;
}
#navwrapper a:hover {
background-image: url("easyweb/filarkiv/button_mover.gif");
color: #ffffff;
}
__________________
NorthCube, Webtechnology from the north.
Please login or register to view this content. Registration is FREE - Please login or register to view this content. Registration is FREE - Please login or register to view this content. Registration is FREE - Please login or register to view this content. Registration is FREE.
To avoid criticism do nothing, say nothing, be nothing. - Elbert Hubbard, 1856 - 1915.
Last edited by Coulix; 08-15-2006 at 07:32 AM..
|