Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Question about Hover and Action for Image Links



9:49 am on Jan 14, 2008 (gmt 0)

5+ Year Member

Now, it is about 5AM when I'm posting this, so I apologize in advance for any misspellings...

I'm currently attempting to get images for the links to change on mouse over and on action, but for the life of me can't figure out how!
Now, I believe I've done it before, but I kinda don't remember how I did it. The images are not background images, they are actual images with the words typed into them.

Any help would be appreciated, and agian sorry if this is a simple little snippet of code!

[edited by: engine at 3:29 pm (utc) on Jan. 14, 2008]
[edit reason] No urls, thanks. See TOS [webmasterworld.com] [/edit]


4:37 pm on Jan 14, 2008 (gmt 0)

10+ Year Member

Only background images can be changed w/ CSS. You'll need to use Javascript.


7:22 pm on Jan 14, 2008 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Welcome to WebmasterWorld, Bones6.

You may still be able to accomplish the task with CSS. "Hide" your images by either making then display:none or by making their visible space so small that they don't "appear" until you hover over the link.


2:43 pm on Jan 15, 2008 (gmt 0)

10+ Year Member

Good point Coopster.. I forgot there's also the "sprite" technique:



Featured Threads

Hot Threads This Week

Hot Threads This Month