CSS text link hover - setting multiple link colour options

  • allgoodpeople
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jan 16, 2004
  • Posts: 379
  • Loc: here
  • Status: Offline

Post February 27th, 2004, 5:40 pm

ATNO/TW wrote:
Quote:
a.invisible:hover {color:#00808;}



ummm...look at your hex number for your teal hover color. Notice anything wrong?


Um, I meant to do it that way :lol: I always thought that sixth digit was useless anyway. Kind of like a sixth finger.

it works, but good looking out!

Mark
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 27th, 2004, 5:40 pm

  • cerio
  • Proficient
  • Proficient
  • User avatar
  • Joined: Feb 07, 2004
  • Posts: 263
  • Loc: UK
  • Status: Offline

Post March 1st, 2004, 6:21 pm

ah, I see. I didn't know that. I'm curious now and will try that too.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post March 1st, 2004, 7:41 pm

*smiles
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • LazyJim
  • Student
  • Student
  • No Avatar
  • Joined: Feb 15, 2004
  • Posts: 92
  • Status: Offline

Post March 2nd, 2004, 12:34 pm

fional24 and gilray4 are absolutely right, they are saying the same thing I keep saying in the other threads on this forum...

Use the cascade!
  • Umesh
  • Born
  • Born
  • No Avatar
  • Joined: Sep 23, 2004
  • Posts: 1
  • Status: Offline

Post September 23rd, 2004, 4:27 am

Hi,
can any one help me out that if i want underline on a link when hove after visited once?
Regards
Umesh
  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 10, 2004
  • Posts: 2194
  • Loc: Canada
  • Status: Offline

Post September 26th, 2004, 6:44 pm

Code: [ Select ]
a.visited {
text-decoration: underline
}
  1. a.visited {
  2. text-decoration: underline
  3. }
  • Mas Sehguh
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Aug 07, 2004
  • Posts: 1853
  • Status: Offline

Post September 26th, 2004, 7:05 pm

You shouldn't remove underlines from links. Period. Even if they're a different color. Often, color-blind people cannot see the difference in color, so they cannot see the link. You don't want to discriminate against the disabled, do you?

Neksus, you probably mean a:visited, not a.visited.

Since he wants it on hover of a visited link, he would want a:visited:hover.
  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 10, 2004
  • Posts: 2194
  • Loc: Canada
  • Status: Offline

Post September 26th, 2004, 7:13 pm

haha, ya bad mistake on my part, as for his question i misinterpreted it, didnt see the hover on visited. as for the underline, if you use enough contrast between your links and content text the colour blind *should* be able to differentiate, unless of course you're using complete opposites (red/gree, blue/yellow)
  • Mas Sehguh
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Aug 07, 2004
  • Posts: 1853
  • Status: Offline

Post September 26th, 2004, 7:24 pm

What matters is contrast between their levels of brightness. There are color-blindness issues such as red-green, red-yellow, and blue-green, which are very common, and there are those which involve the lack of any color. The level of brightness is what primarily matters, and having contrast in level of brightness is risky when people are using monitors which behave differently -- on some monitors, #000000 and #555555 are barely discernable, while on others, #FFFFFF and #CCCCCC are barely discernable.

It is possible for there to be enough contrast for the completely color-blind, but that greatly limits the options for choice of color, and it does not make sense to have link colors so severely diminished in brightness relative to the rest of the text.
  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 10, 2004
  • Posts: 2194
  • Loc: Canada
  • Status: Offline

Post September 26th, 2004, 8:04 pm

ya i hate how monitors display colour differently, and especially when displayed on lcd projectors as well! it makes some presentations hard to do!

Post Information

  • Total Posts in this topic: 25 posts
  • Users browsing this forum: No registered users and 113 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.