homepage Welcome to WebmasterWorld Guest from 54.167.41.199
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
linktext color in class table
diffrent link colors for a table, stuck
ikbenhet1




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


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 ;}

 

ikbenhet1




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


I found a simple solution. i can simply use style="color: black;" .

securecat




msg:1196979
 4:42 pm on Mar 23, 2003 (gmt 0)

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 }

tedster




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved