W3C home > Mailing lists > Public > www-style@w3.org > April 2002

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

From: James Dean <jfdean@ihug.com.au>
Date: Mon, 8 Apr 2002 13:05:08 +0930
Message-ID: <000b01c1deae$62c46b40$37bbadcb@james>
To: <www-style@w3.org>
Hi all,

I wish to override a bgcolour style for one table cell. I can't make it
work.

In the style sheet:

BODY, TD {
        color : Black;
        font-family : "Times New Roman", Times, serif;
        font-size:18px;
        text-align: left;
        background : #CCFF66;
        font-weight: bold;
        font-style: italic;
}

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.

Thankyou,

James
Received on Sunday, 7 April 2002 23:34:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:14 GMT