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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

link colors 1

Status
Not open for further replies.

tnsbuff

Technical User
Jan 23, 2002
216
US
Hi,

I'm on a roll here so here's one more question, if someone has time to look. The following page has the style sheet set up so that visited and non-visited links will have the same color, but it's not displaying that way for me. It's displaying a different shade of blue when visited.


Here's the code in my style sheet:

a:link {color: #3366CC}
a:visited {color: #3366CC}
a:hover {color: teal; text-decoration: none}

Suggestions? Thanks...
 
usualy my designer creates a different entry for all the classes meant to be links with the link and visited params.

Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
This is what I saw in the stylesheet:

TH A:link {
COLOR: #3366cc
}
A:visited {
COLOR: #3366cc
}
A:hover {
COLOR: teal; TEXT-DECORATION: none
}

That means that all the links in a TH only will be that color. Change it to this for it to work on the entire page:

A:link {
COLOR: #3366cc
}
A:visited {
COLOR: #3366cc
}
A:hover {
COLOR: teal; TEXT-DECORATION: none
}

Rick It's a pleasure to know that I've helped you. If I have,
please click the link below to let me know. :)
 
Thanks!

I don't know how I missed that. That was an extra th that was leftover by mistake.

I have just one more problem (I think). If interested see my next post. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top