Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS help with css sprite Re: help with css sprite

#65471
cybershot
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.