Re: Easy newbie question. - over-riding style-sheet specification.

James Dean wrote:
> 
> I wish to override a bgcolour style for one table cell. I can't make it
> work.
>
> BODY, TD {
>         color : Black;
...
>         background : #CCFF66;
...
> in the document:
> 
>   <tr>
>     <td width="117" bgcolor="#000000" valign="top">{NAV_BAR}</td>
>     .....
> 
> White does not over-ride the other colour. Could someone please point me at
> the correct syntax.

White? You mean black, right? It's because CSS overrides any stylistic HTML.
   http://www.w3.org/TR/REC-CSS2/cascade.html#q12
Use CSS to specify the colors and it should work.

BTW, authoring questions should be directed to
comp.infosystems.www.authoring.stylesheets

~fantasai

Received on Monday, 8 April 2002 00:38:54 UTC