- From: Murray Altheim <murray@spyglass.com>
- Date: Sat, 24 Aug 1996 17:16:28 -0500
- To: Walter Ian Kaye <boo@best.com>
- Cc: www-html@w3.org
Walter Ian Kaye <boo@best.com> writes:
>At 4:15p -0600 08/23/96, Imagination's End wrote:
>>> 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. Granted I'll admit this is probably
>>just stupid coding, and that if you specify both background and
>>bgcolor they should both be the same.
>
>My guess would be:
>
> Priority 1 = local style
> Priority 2 = general style
> Priority 3 = local attribute
All this stuff regarding priority is outlined in the CSS draft. No need to
guess.
Murray
```````````````````````````````````````````````````````````````````````````````
Murray Altheim, Program Manager
Spyglass, Inc., Cambridge, Massachusetts
email: <mailto:murray@spyglass.com>
http: <http://www.stonehand.com/murray/murray.html>
"Give a monkey the tools and he'll eventually build a typewriter."
Received on Saturday, 24 August 1996 17:13:48 UTC