Help!

Aug. 14th, 2011 05:36 pm
[personal profile] catspaw
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 :-(

Date: 2011-08-15 07:27 am (UTC)
From: [personal profile] nicci_mac
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*

January 2021

S M T W T F S
     12
345 6789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 3rd, 2025 05:22 am
Powered by Dreamwidth Studios