Re: Problems/Question with Cougar

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

__________________________________________________________________________
    Walter Ian Kaye <boo@best.com>     Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML
 http://www.natural-innovations.com/     Musician - Guitarist, Songwriter

Received on Saturday, 24 August 1996 16:06:50 UTC