Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS hover effects

Status
Not open for further replies.

avaloon

Instructor
Joined
Jan 16, 2005
Messages
7
Location
SE
Hi!
I have a problem.. What I want to do is to make a menu that when the user hovers the link the tablecell + link changes to a different fill.
I defined them in a and a:hover, but since they¨re visited they dont get the right hovercolor and just causes problems, ive also tried defining a:link
You can see exactly what I want here:
look at the menu left-side.

Any ideas?
Sincerely, Andreas
 
well, view the css they use.

most likely, their anchor tags are [tt]display: block;[/tt]. you will need to make sure you define the anchor pseudo-classes in the correct order, take a look here for more information.

once you've done this, simply define the background color and color of the anchor, and you should be on your way.



*cLFlaVA
----------------------------
[tt]I already made like infinity of those at scout camp...[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
Here is another option if you care to use it...

<SPAN onMouseOver="document.pic1.src='bluepic2.gif'" onMouseOut="document.pic1.src='bluepic1.gif'"><img src="bluepic1.gif" height="40" width="100" name="pic1"></SPAN>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top