Having trouble replacing text (link) inside a list with an image. Can't seem to get it working
Here's my code:
HTML:
<div id = "headeranna">
<ul>
<li><a href="#" id="annaklein">Ask Anna</a></li>
<li><a href="#">Ask Anna</a></li>
</ul>
</div>
CSS:
#headeranna {
position: absolute;
margin-left:410px;
margin-right: 10px;
margin-top: -90px;
float:right;
}
#annaklein{
display:block;
width: 26px;
height: 26px;
background: url(small_anna.gif);
text-indent: -9999px
}
Seems like nothing is happening when I try this. Any idea what I'm missing?