/    Sign up×
Community /Pin to ProfileBookmark

Links in CSS

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.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@CharlesJul 12.2006 — 1) Don't use TABLEs for layout.

2) Do use descendant selectors. http://www.w3.org/TR/REC-CSS2/selector.html#descendant-selectors
Copy linkTweet thisAlerts:
@ray326Jul 12.2006 — You can use ids or classes for that.
×

Success!

Help @jk1984 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...