homepage Welcome to WebmasterWorld Guest from 54.205.144.54
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
Bones6




msg:3547615
 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]

 

your_store




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

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

coopster




msg:3548020
 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.

your_store




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

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

[#*$!.com...]

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