I know it may sound stupid but I'm trying to change the background position for an 'anchor element
' but I get no result.
The HTML
looks like this:
<a href="http://google.com/" class="first-link">Link</a><a href="http://google.com/" class="second-link"></a>
For the .second-link:visited
I want to change the background position
, I have no idea why it doesn't work.
Update
The css for .second-link
looks like this:
.second-link { background: url(../images/sprite.png) no-repeat -13px -124px; height: 20px; width: 15px; display: inline-block; margin: 2px 0 -6px 2px; }