View Full Version : link colors


lefty
08-26-2005, 03:11 PM
Wow, I'm asking a question :P

I've added this to my stylesheet:
A {color:FF0000; text-decoration:none; }
A:hover {text-decoration:underline; }

But my link colors aren't changing. I haven't done much research, but anything I found provided the standard code for changing link colors and that's obviously not working for me. Did I miss something?

Chris
08-26-2005, 03:30 PM
Should it not be:


A:link {color: #FF0000; text-decoration:none; }
A:hover {text-decoration: underline; }?

lefty
08-26-2005, 06:43 PM
I use just A all the time, and it works fine... I tried and it doesn't do anything, though.
And # sign doesn't do anything, either.

JetsxDude
08-27-2005, 01:19 AM
Wow, I'm asking a question :P

I've added this to my stylesheet:
A {color:FF0000; text-decoration:none; }
A:hover {text-decoration:underline; }

But my link colors aren't changing. I haven't done much research, but anything I found provided the standard code for changing link colors and that's obviously not working for me. Did I miss something?

Try this:

A {color:FF0000; text-decoration:none; }
A:hover {color:"insert hover color here" text-decoration:underline; }

Hope it works :]

JETS

lefty
08-27-2005, 01:55 AM
yeah but the original link color still doesn't show :\

JetsxDude
08-27-2005, 04:03 AM
I think I got it! :cool:

<style>
A:link{color:FF0000; text-decoration:none;}
A:hover{color:0099ff; text-decoration:underline;}</style>

You were missing the "A:link:" part.

I think that just might work!

:hamster:
--Jessica

jazzberry
08-27-2005, 05:27 AM
a {color:FF0000; text-decoration:none; }
a:hover {text-decoration:underline; }

I tried it like that (with just the a by itself) and it didn't work on my myspace

a:link{color:FF0000; text-decoration:none;}
a:active{color:FF0000; text-decoration:none;}
a:visited{color:FF0000; text-decoration:none;}
a:hover{text-decoration:underline;}

that's probably your best bet.

I think there's something wrong with myspace's coding "standards" the colours don't work for me at all if I use a # sign

lefty
08-27-2005, 01:57 PM
Thanks Jazz, I just added that stuff last night... worked much better. Also learned that some of the links have their own classes, so they won't change with just that. Stupid non-standard HTML :P