PDA

View Full Version : CSS/HTML: getting links to stay the same colour


Desova
01-07-2004, 05:23 AM
heres the relevant part of the CSS i'm using:
a:link {
color: #FE15A7;
font-family:Arial;
}

a:visited {
color: # FE15A7;
font-family:Arial;
}

a:active {
color: # FE15A7;
font-family:Arial;
}


BODY {
color: #FE15A7;
background-color: #000000;
font-family:Arial;
scrollbar-face-color: #FE15A7 ;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #FFFFFF; scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #000000;
scrollbar-arrow-color: #FE15A7
}

and when i'm viewing the page, the links start as #FE15A7 but after they are clicked they go darker, to a kind of purple and become hard to read (dark background). is there any way to force the links to stay the same colour or is there something i've missed?

ZeroX
01-07-2004, 06:25 AM
you'll probably kick yourself over this one. All you have to do it remove the space between the octothorpe and the hex color code.

Change "color: # FE15A7;" to "color: #FE15A7;" in both places.

Desova
01-07-2004, 11:53 AM
*kicks self*

TestShoot
01-07-2004, 04:16 PM
You may also want to try this:



a {
color: #FE15A7;
font-family:Arial;
}
a:hover {
color: #FE15A7;
font-family:Arial;
}