Here is the code which i am using on my page
HTML
<a href="#" class="bac" data-role="none" style="color:#fff;">
<strong>Anúnciese gratis</strong>
</a>
CSS
.bac{
background:url("http://wstation.inmomundo.com/static02/costarica/sprites_botones1.png");
background-repeat:no-repeat;
display: block;
font:15px/18px Arial;
height: 22px;
padding: 6px 18px 4px 4px;
text-decoration: none;
margin-right:-4px;
}
.bac:hover{
background-attachment:scroll;
background-position:0px -35px;
background-image:url("http://wstation.inmomundo.com/static02/costarica/sprites_botones1.png");
background-repeat:no-repeat;
height:22px;
padding:6px 18px 4px 4px;
}
Here is the demo http://jsfiddle.net/Lc4Ky/1/ (open in google chrome browser) When i open this in google chrome, on hover the image is going off for a second then its showing hover effect.The image is going off only first time on each refresh. But i want this should be stable.Is there any solution for this?