4 replies [Last post]
oh1234
Offline
Regular
Last seen: 13 years 48 weeks ago
Joined: 2006-12-16
Posts: 16
Points: 0

Hi,

I am wondering if there is an color issue with browsers, especially Firefox and Opera, relating to navigation links. I use the following codes, but colors don;t seem to be working on Firefox and Opera. It works perfectly on IE. For example, on Firefox, all navigation link is "blue" and visited one become "puplish" color, not the ones in the following specification.
.th A:link {text-decoration: none; color=white}
.th A:visited {text-decoration: none; color=skyblue}
.th A:active {text-decoration: underline; color=white}
.th A:hover {text-decoration: underline; color=yellow}

Thanks in advance.

DanA
DanA's picture
Offline
Elder
Last seen: 10 years 29 weeks ago
Timezone: GMT+2
Joined: 2004-08-14
Posts: 1087
Points: 2

Did you try with

Did you try with color:white; ?

Kurt Maine
Offline
newbie
Last seen: 13 years 49 weeks ago
Joined: 2006-11-02
Posts: 3
Points: 0

DanA wrote:Did you try with

DanA wrote:
Did you try with color:white; ?

Yeah, that is absolutely the problem. CSS uses colons not equal signs.

oh1234
Offline
Regular
Last seen: 13 years 48 weeks ago
Joined: 2006-12-16
Posts: 16
Points: 0

Thanks guys! Originally I

Thanks guys!

Originally I copied from somewhere! It works with IE well. I think that's why they were using and I blindly copied it!

DanA
DanA's picture
Offline
Elder
Last seen: 10 years 29 weeks ago
Timezone: GMT+2
Joined: 2004-08-14
Posts: 1087
Points: 2

a:hover should come before

a:hover should come before a:active
http://www.csscreator.com/node/3924