More then one link color on the same page

liunx

Guest
is there a way to make a link on a page a different color then the others?<br />
<br />
I'd need to have some links in one table look different then in some another table. Can this be done?<!--content-->Yep......... follow this way......<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?threadid=9172">http://www.htmlforums.com/showthread.php?threadid=9172</a><!-- m --><br />
<br />
And: welcome aboard<!--content-->Sure, this can be done with Cascading Stylesheets (CSS) are you using a stylesheet with your page?<br />
<br />
If you are, then simply create a different class for your non-standard links.<br />
<br />
If you aren't . . . let me know and I can show you what I am talking about.<br />
<br />
-beth<!--content-->. . . or follow Peter's thread.<br />
<br />
-b<!--content-->Thanks guys!<br />
<br />
Yes I'm using css, I'm just new to it and didn't know how to make more then one link color within a class.<br />
<br />
<br />
Thanks again,<br />
<br />
juno<!--content-->if you can, pick up a copy of Cascading Stylesheets The Definitive Guide from O'Reilly.<br />
<br />
It's great!<br />
<br />
I know there are a lot of tutorials online, but I am a book person myself . . need to actually skim text, turn and dogear pages.<br />
<br />
Stylesheets are really fun, just be aware of cross-browser compatibility issues. The O'Reilly books is really good becuase it has a big index in the back that outlines the browser support for each attribute.<br />
<br />
Have fun.<br />
<br />
-beth<!--content-->I bet this is less compatible then them thar style sheets, but it's worth mentioning...<br />
<br />
If you put the the FONT tag between the HREF tag, the colour will override the default page link colour. If I remember, this is true for IE5 and be ignored by NS4.<br />
<br />
I am the <a href=http://www.htmlforums.com/archive/index.php/"best.html"><font color="#808080">best</font></a> in the world!So I ask, is this even ACCEPTABLE coding; like, is it official??<!--content--><myopinion>CSS is preferred over using the FONT tag. FONT is marked as "deprecated". Plus with CSS you can specify the different modes such as the active, hover, etc, plus add (or subtract) other formatting features to each mode. FONT will make the link stick to one color only.</myopinion><!--content-->
 
Back
Top