Why is the rollover image working with a delay? I can see the rollover image moving on top of the original image. This is not what we mean by rollover image. It needs to work instantly.
<p><a class="test" href="contact"><span>test</span></a></p>
.test{
display:block;
height:49px;
width:344px;
background:url(/images/test.png) top;
}
.test:hover{
background-position:bottom;
}
.test span{
display:none;
}
I also tried this code:
.test{
display:block;
height:49px;
width:344px;
background-image:url(/images/test.png);
}
.test:hover{
background-position: 0 -49px;
}
.test span{
display:none
}