W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 1999

Background colours don't take from style= or stylesheet

From: David J Woolley <djw@bts.co.uk>
Date: Wed, 20 Jan 1999 18:29:20 +0000
Message-Id: <199901201829.SAA06318@saracen.bts.co.uk>
To: www-amaya@w3.org
1.4a Win32

Background colours set with an external stylesheet or with
attributes | style don't take (although I think the external style 
sheet has the effect of forcing the default colours when the 
selectors match).  Using styles | colors seems to produce the same 
format of style attribute in the structure view, but seems to really 
work.

This works on IE4, but not NS4.

The stylesheet fragment in question was:

TBODY.selectors, TBODY.selectors TABLE { background-color: #ccddcc; }

On forcing the attribute on the TBODY, the nested table reverted, 
although I'm not sure if the reversion was from the above or from the 
rule for TABLE.

This is not a case sensitivity problem on the colour code.

-- 
David Woolley - Office: David Woolley <djw@bts.co.uk>
BTS             Home: <david@djwhome.demon.co.uk>
Wallington      TQ 2887 6421
England         51  21' 44" N,  00  09' 01" W (WGS 84)
Received on Wednesday, 20 January 1999 13:57:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:27 UTC