View Full Version : Link Colors


ucantparkhere
10-06-2004, 03:21 AM
How do you change the visited link, and all of those? Whats the code?

Monkey Bizzle
10-06-2004, 03:54 AM
i notice that you already use CSS so here is how to do it the CSS way... in your pages you already have <style> tags in your <head> tags. So, just add this code somewhere in your <style> section.

a:link
these are the attributes for ALL of your links
{ text-decoration: value;
replace the word value with either underline, overline, underline overline, line-through, or none.
color: #000000;
change the color code to whatever color you want your links to be
cursor: value;}
replace the word value with either default, auto, wait, crosshair, hand, help, text, move, s-resize, e-resize, w-resize, ne-resize, nw-resize, se-resize, sw-resize,or none.

a:visited
these are the attributes for links that have been visited
{text-decoration: value;
replace the word value with either underline, overline, underline overline, line-through, or none.
color: #000000;
change the color code to whatever color you want your links to be
cursor: value;}
replace the word value with either default, auto, wait, crosshair, hand, help, text, move, s-resize, e-resize, w-resize, ne-resize, nw-resize, se-resize, sw-resize,or none.

a:active
these are the attributes for active links
{text-decoration: value;
replace the word value with either underline, overline, underline overline, line-through, or none.
color: #000000;
change the color code to whatever color you want your links to be
cursor: value;}
replace the word value with either default, auto, wait, crosshair, hand, help, text, move, s-resize, e-resize, w-resize, ne-resize, nw-resize, se-resize, sw-resize,or none.

a:hover
these are the attributes for your links when you hover over them
{text-decoration: value;
replace the word value with either underline, overline, underline overline, line-through, or none.
color: #000000;
change the color code to whatever color you want your links to be
cursor: value;}
replace the word value with either default, auto, wait, crosshair, hand, help, text, move, s-resize, e-resize, w-resize, ne-resize, nw-resize, se-resize, sw-resize,or none.

i hope you can understand. just take out my comments and replace the word value with what you want. these are the very basic link attributes. once you get used to using them, you can learn about other attributes and really customize them!

ucantparkhere
10-09-2004, 07:04 PM
Thanks.