Welcome to WebmasterWorld Guest from 54.166.222.116

Forum Moderators: not2easy

Message Too Old, No Replies

linktext color in class table

diffrent link colors for a table, stuck

     
12:28 pm on Mar 23, 2003 (gmt 0)

10+ Year Member




I want to make the links in table.kk in a diffrent linktext color.
How can this it be done?

table.kk {}
table.kk A: link { color: black ;}
table.kk A: visited{ color: black ;}
table.kk A: active { color: black ;}

3:02 pm on Mar 23, 2003 (gmt 0)

10+ Year Member




I found a simple solution. i can simply use style="color: black;" .
4:42 pm on Mar 23, 2003 (gmt 0)

10+ Year Member



How about defining a class as A element?

a.black:link, a.black:visited, a.black:active { color:black }
a.red:link, a.red:visited, a.red:active { color:red }

4:52 pm on Mar 23, 2003 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Your first code was also in a correct direction. Try eliminating the space between a: and hover, visited, etc.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month