|
Posted by Keith Clark on May 9, 2007, 4:59 am
Please log in for more thread options
I want to define a text style class which is active whenever I refer to it.
The following does not work
in CSS:
bluetext { COLOR: blue; FONT-SIZE:16px; }
in HTML:
....
<TABLE><TR><TD>
<class=bluetext>this should appear in blue</class>
</TD>
<TD> This should appear in some other style</TD>
...
Even when I encapsulate it in a <P> tag it doesn't work
....
<TABLE><TR><TD>
<P class=bluetext>this should appear in blue</P>
</TD>
<TD> This should appear in some other style</TD>
...
Why ?
Is there another wway ?
Keith
|