catspaw ([personal profile] catspaw) wrote2011-08-14 05:36 pm

Help!

I'm trying to teach myself CSS and this is driving me NUTS!



I'm trying to change the 'a:visited' colour on the stylesheet. I want a different colour for it. I can change the 'a:link' to get it to look like I want to, and the 'a:hover' - but every. Single. Time. I change the text colour on the 'a:visited' bit, it changes the colour of ALL of the links in the style. I've looked at it, and looked at it, and LOOKED at it, but I'm damned if I can see why it won't work! What the hell am I doing wrong?

What I'm putting into the style sheet is

a:link {text-decoration:none; font-weight:normal; color:#003333;}
a:visited {text-decoration:none; font-weight:normal; color:#669933;}
a:hover {text-decoration:underline overline; font-weight:normal; color:#003333;}
a:active {text-decoration:none; font-weight:normal; color:#003333}

Just that, with no extra carets or anything. But I'm obviously missing *something* :-(



If anyone could help, I'd be awfully grateful! I'm sure I'm doing something really, really dumb :-(
ximeria: (Default)

[personal profile] ximeria 2011-08-15 06:37 am (UTC)(link)
No, it shouldn't. I'll have another look at it when I come home, there are ways of getting it to work as far as I recall, but it takes a little digging in one of my reference books. Will let you know what I find.

ETA could you email me the whole css code - not just the ones above?
Edited ( ) 2011-08-15 06:38 (UTC)