PDA

View Full Version : table question


nathanweb
04-29-2001, 05:37 PM
does any one know how to set different colors for hyperlinks in seperate tables?

thanks for your help

unconnected
04-29-2001, 05:45 PM
you can change the hyperlink color anywhere on a page by just putting a <font color=RED> tag AFTER the <HREF=> tag..
but you will have to repeat this for every link you doj which is to be different than the global setting in the body tag

Lizard
04-29-2001, 05:51 PM
Define a css id and set the colors, font and
whatever you need and attach it to your tables - make an id with diff colors for
each table - saves a ton of html since you
dont need all those font tags.

Lizard
04-29-2001, 05:55 PM
Like this:

Goes in the head section


<STYLE type="text/css">
<!--
#TTName {
font-size : 12;
color : Black;
font-family : Verdana;
-->
</STYLE>


Html coding...

[/code]
<table id="TTable" border="0" cellpadding="0" cellspacing="0">

etc...
[/code]