Topic: Can I make more than one type of link with CSS? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=24351" title="Pages that link to Topic: Can I make more than one type of link with CSS? (Page 1 of 1)" rel="nofollow" >Topic: Can I make more than one type of link with CSS? <span class="small">(Page 1 of 1)</span>\

 
gpanger
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Dec 2004

posted posted 12-10-2004 22:12

Sorry, I am a bit of an idiot when it comes to CSS. Is it possible to define the link class twice, so that I can have, say a class for red links (with its own rollover effects, visited colors, etc.) and a class for blue links (again with its own properties... underlining effects, etc.)?

Any help you can offer would be WONDERFUL. I am stumped.

gpanger
Obsessive-Compulsive (I) Inmate

From:
Insane since: Dec 2004

posted posted 12-10-2004 22:28

I answered my own question. Google. Hey.

http://www.yourhtmlsource.com/stylesheets/csslinks.html

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 12-11-2004 00:47

Some points -

quote:
Is it possible to define the link class twice



Wording is important here. You can define any number of classes for any element, or completely independant of any particular element.

There isn't actually any such thing as "the link class" except as it applies to what you've set up as classes specifically for links..

The tutorial you linked to gets into some pretty good detail it seems (I didn't give it a thorough reading, so I can't critique the content), so I won't go into much detail here, but the above two points are important ones.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu