homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Question about Hover and Action for Image Links

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

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)

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


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

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)

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


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved