Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS a:link question

Status
Not open for further replies.

GladysPym

Technical User
Jan 6, 2003
76
GB
Hi.
I'm really getting into css's (and about time too) and newly using a:link, a:visirted and so on.

My problem is I want to use more than one style of a:link.

So that I'd have a site-wide standard, but have a local variation (I want to bring particular attention to one or two links to highlight new/breaking services).

Now, I can do this with onmouseover and so on, but it seems a:link (and its associated suite) are pagewide, and that you can't make use of cascading to make line-specific or local changes to size, colour etc.)
I tried making a whole new style sheet with its own a:link stuff, but when I refernce that for one link it applies to the whole page.

I hope this is clear. If not, I'll try to make it clearer, but I'm not sure how.

Any ideas about how to get round this?
 
use CSS classes for each style.

faq215-1491




Chris.

Indifference will be the downfall of mankind, but who cares?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top