PDA

View Full Version : A used one color for links but I see another! Help!


texas
03-27-2008, 12:16 PM
Well, I'll try to be desctiptive...

In CCS a have this:

p, ul, ol {
font-size: 12px;
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
text-decoration: none;
font-weight: normal;
}

Excactly like the kit

And then...I wanted to do more, and I put a color (some orange) on the link at the paragraph, so I wrote this:


p a:link {
font-size: 12px;
color:#FFCC00;
font-family: Arial, Helvetica, sans-serif;
text-decoration: underline;
font-weight: normal;

Well, It worked perfect on Dreamweaver, I mean, you CAN SEE the orange link on the paragraph tha you selected like a link...BUT:

When I view it using Interten Eplorer..I see it purple!!
One point: This happen when the link is a local page (.html) on my C:
But, with external links, e.g: www.google.com the link appears like I set it: orange.

Do I need to show you part of the page (I mean, some "print page") Or is this enough to see the problem?

Thanx!! (And I apologize for my horrible english....)

tanya
03-27-2008, 01:04 PM
That's because you need to set 'visited' style as well.

You probably already went to that url, so the link is showing as 'visited'.

p a:visited {
...
}

texas
03-27-2008, 03:15 PM
YEEEEEEEEEEEEEEEEEEEEEEEEEEEEES!!! :jump
It was THAT!!! You've saved my life! (well, just an expresion je je)
thank you, thank youm thank you!!! I've been stock for many days!! Thank!...
I've just done it, and guess what? It wooooorked!!!
Thanx again...DT Rocks!!!! :bow

tplatteter
05-26-2008, 09:54 PM
you are actually using more code then you have to. if you just use...


p a {
font-size: 12px;
color:#FFCC00;
font-family: Arial, Helvetica, sans-serif;
text-decoration: underline;
font-weight: normal;

you would be fine... : ) tested in IE firefox opera and safari winXP SP3