PDA

View Full Version : A bit of CSS code



YouFail
22-04-2006, 10:12 AM
I can't remember the CSS code for links to change colour with the hover and things like that. ANy help appreciated.
Rico

Encryptions!
22-04-2006, 10:16 AM
A:link
{ text-decoration: none;
color:#FFFFFF; }
A:visited
{ text-decoration: none;
color:#FFFFFF; }
A:active
{ text-decoration: none;
color:#FFFFFF; }
A:hover
{ text-decoration: none;
color:#FFFFFF; }

YouFail
22-04-2006, 10:20 AM
Thanks so much.

Splinter
22-04-2006, 10:21 AM
yes well this should work..


a:active, a:link, a:visited {
color: #FFFFFF;
text-decoration: none;
}
a:hover {
color: #990000;
text-decoration: none;
}

Encryptions!
22-04-2006, 10:30 AM
Yeah Charlie that would work but what if he wants to change more than the hover settings he would have to break up the code then, I always use my code it's easier when I want to change =]

Sygon.
22-04-2006, 10:38 AM
i use charlies mathod as i dotn use hover that much, i usually pout the style name in it



.white , a:active, a:hover, a:link, a:visited {
}


But anyway its done now

Splinter
22-04-2006, 10:43 AM
Yeah Charlie that would work but what if he wants to change more than the hover settings he would have to break up the code then, I always use my code it's easier when I want to change =]
Yes but he wanted it to just change when you haver over the link =D

Encryptions!
22-04-2006, 10:44 AM
i use charlies mathod as i dotn use hover that much, i usually pout the style name in it



.white , a:active, a:hover, a:link, a:visited {
}

But anyway its done now

Speak English please =]

And aye Charlie I just read his post fully =]

Sygon.
22-04-2006, 11:04 AM
Speak English please =]

And aye Charlie I just read his post fully =]

Hello.

A few spelling mistakes? dont be such a stereotype

- Dan oops Sygon

Encryptions!
22-04-2006, 11:15 AM
I never put ' - Dan ' anymore you silly boy... =] Poor Sygon still gets wound up easy (l)

Sygon.
22-04-2006, 11:19 AM
I never put ' - Dan ' anymore you silly boy... =] Poor Sygon still gets wound up easy (l)

No not really, actually its you who does, I say something sppelt a few words wrong because im typing fast and then you say speak in english please, when thats blatently understandable with the mistakes.

Encryptions!
22-04-2006, 11:22 AM
No not really, actually its you who does, I say something sppelt a few words wrong because im typing fast and then you say speak in english please, when thats blatently understandable with the mistakes.

Your boring me now =]

Sygon.
22-04-2006, 11:24 AM
Your boring me now =]

Thats just a pathetic answer "/ anyway this topic should be closed as the problem has been solved

Encryptions!
22-04-2006, 11:42 AM
I agree =]

Want to hide these adverts? Register an account for free!