Click to See Complete Forum and Search --> : Links in CSS


jk1984
07-12-2006, 05:33 AM
Within my CSS file i have the following

a:link {color: #ffffff;}
a:visited {color: #ffffff;}
a:hover {color: #FF7F50;}

This is fine for my navigation bar as the background is dark, when it comes to the content where the background is white obviously there is a problem. Is there anyway to give specific tables different link properties than the rest of the site?

Any help would be much appreciated.

Charles
07-12-2006, 06:07 AM
1) Don't use TABLEs for layout.

2) Do use descendant selectors. http://www.w3.org/TR/REC-CSS2/selector.html#descendant-selectors

ray326
07-12-2006, 10:17 AM
You can use ids or classes for that.