PDA

View Full Version : please help! mouseover links disapearing.


sarashine
10-03-2008, 09:49 AM
It took me forever to figure out how to make mouseover links, and then line them up HORIZONTALLY instead of a vertical line. Now when I checked to see if the links worked, it would take me to the right page, but when I went back to the page with the links the whole picture dissapears. It does it with every link, and they don't come back when I refresh the page, or even close the browser and reopen it.

It's like I can only click the link once then it goes away forever. :(
could you help me fix this, or even tell me how to make mouseover pictures that don't link. The link's not important it's really just the pictures I want.

http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=28553654

Cotton
10-09-2008, 10:56 PM
Well, since it's a myspace page I'm not going to dive too deeply into it, but I would guess that your visited link color is probably the same color as the background.

Where ever you have some code that looks like

a {color: #999;}

make it look like

a, a:visited {color: #999}

don't edit the stuff inside the brackets, I just made those values up, just add the comma then a:visited

////
now I'm confused - is the link to the myspace page the page in question, or is it just a link to your myspace page?

In ie6, you can't add a hover event to anything but links. In most modern browsers you can add a hover event to any element, so you can have a div with a background image, and then add :hover to that same div style declaration and have a different background image. You could also use javascript to swap images on mouse over.