Hello all! This is my first post, so please take it easy on me…
I need a vertical rollover menu (400px by 400px) where the text changes as well as the button image behind the text. Here’s my problem: each button has to have a unique image behind it - for both the initial state as well as the hover state. So in this example, there are eight total images. Can this be done?
HTML
<ul id="menu">
<li><a href="">Item 1</a></li>
<li><a href="">Item 2</a></li>
<li><a href="">Item 3</a></li>
<li><a href="">Item 4</a></li>
</ul>
CSS that I have so far
#menu {
list-style: none;
padding: 0;
margin: 0;
border-top: 1px solid #000000;
border-left: 1px solid #000000;
border-right: 1px solid #000000;
width: 400px;
}
#menu li {
border-bottom: 1px solid #000000;
height: 100px;
}
#menu li a:link, menu li a:visited {
background-image:url(../images/item1.gif);
text-decoration: none;
color: #000000;
}
#menu li a:hover {
background-image:url(../images/item2.gif);
color: #cc0000;
}
Any help would be GREATLY appreciated. Thank you!
- Brian