Re: Problems/Question with Cougar

Imagination's End writes:

 > > TD { background : red }
 > > in my style sheet, and <TD BGCOLOR="blue"> in my table, which color
 > > should this table cell get?
 > That makes senses, but, what happens if you have:
 > <TD STYLE=" TD { background: red }" BGCOLOR="blue">
 > What color SHOULD the cell get.

The background should be red. This is covered in [1]:

 "The UA may choose to honor other stylistic attributes (e.g. 'ALIGN')
  as if a 'STYLE' attribute had been used. When in conflict with other
  stylistic attributes, the 'STYLE' attribute should win."




Hakon W Lie, W3C/INRIA, Sophia-Antipolis, France

Received on Monday, 26 August 1996 20:01:26 UTC