Home › Forums › CSS › help with css sprite › Re: help with css sprite
January 18, 2011 at 12:12 am
#65471
Participant
thanks for that.
One more question.
I am trying to make a list of contact information. So I made a sprite with a mail, twitter, phone and facebook image. The idea is to show the mail then when they hover over the mail, it moves the sprite to show the hover image. I can’t figure out how to make a link with the hover image. This is what I am trying now
ul#contactList li span#mail a:link {
display: block;
background: url(../images/social.png)0 0 no-repeat;
width: 200px;
height: 32px;
}
I have been trying different things. but the second image keeps showing up. I can’t figure it out.