LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index » Code Warriors
Author Message
drums
Toilet Drinker
Toilet Drinker


Joined: 19 Jun 2003
Posts: 188
Location: Portland, OR

Post Posted: Fri Sep 14, 2007 3:37 pm   Post subject: CSS question Reply with quote Back to top  

a:link {color:#3E6790; text-decoration:none}
a:visited {color:#3E6790; text-decoration:none}
a:active {color:#3E6790; text-decoration:none}
a:hover {background-color: #E0E6ED; color:#000000; text-decoration:none}

This works except I want the hover text to be black. Can someone explain why it takes the other color 3E6790 and not black?

_________________
View user's profile Send private message
Slymer
Tail-Wagger
Tail-Wagger


Joined: 29 May 2003
Age: 30
Posts: 2357
Location: chair in front of my computer

Post Posted: Fri Sep 14, 2007 4:09 pm   Post subject: Reply with quote Back to top  

I'm not ever used CSS... but wouldn't active be the hover color?... of course you can always change around the colors to see which exactly is the correct one to play with.

_________________
The Sly One
======================================
Windows is like crack. It feels good, it's easy to start into, it hooks you bad, it costs a ton of money, and it makes you crazy. And you still love it. - EdisonRex

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Albert Einstein

View user's profile Send private message Visit poster's website AIM Address ICQ Number
CMTG
Leg Humper
Leg Humper


Joined: 23 Feb 2002
Posts: 4955
Location: On average, Cheltenham.

Post Posted: Sat Sep 15, 2007 1:49 am   Post subject: Reply with quote Back to top  

You just got the order wrong it should be :link, :visited, :hover, :active.

Remember, CSS is applied in the order it is defined!

_________________
Pie. I wish I could
constrain my hungry greed but...
Sadly, defeated.


Charlene's Law: There's no such thing as can't.
Charlene's Corollary: Unless it's followed by be arsed.

If only 20% of your staff is programmers, and you can save 50% on salary by outsourcing programmers to India, well, how much of a competitive advantage are you really going to get out of that 10% savings?
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
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 vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!