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 :-(

[personal profile] nicci_mac 2011-08-15 07:27 am (UTC)(link)
Then there has to be another piece of code somewhere thats conflicting. I guess we'd have to see the whole thing and not just the bit you're trying to add.

PS - are you up for the Museum this coming weekend at all? *bounce bounce*