Forum Moderators: not2easy
In IE, hover changes the background-image as it should. It also changed the background color right on cue when I tested that, but it won't change the text color. Works fine in FireFox, etc.
Thanks for any help. I appreciate it.
#subnav {
float: right;
position: relative;
top: 55px;
left: -80px;
}
#subnav ul {
list-style-type: none;
margin: 0;
padding: 0;
position: relative; /*For some reason, this prevents the disappearing background images in IE*/
}
#subnav li {
margin: 0;
padding: 0;
font-size: .9em;
font-weight: bold;
line-height: 140%;
text-transform: uppercase;
}
#subnav a {
background: #fff url(images/arrow_right.gif) 0 3px no-repeat;
padding-left: 8px;
color: #779e83;
}
#subnav a:hover {
background: #fff url(images/arrow_right_70.gif) 0 3px no-repeat;
padding-left: 8px;
color: #53745c;
}
#subnav a:visited {
color: #779e83;
}
===================================
<div id="subnav">
<ul>
<li><a href="about.htm">About us</a></li>
<li><a href="contact.htm">Contact us</a></li>
</ul>
</div>