On 6 Sep 2008 Paul Vigay wrote:

> In a dim and distant universe <[EMAIL PROTECTED]>,
>    Michael Drake <[EMAIL PROTECTED]> enlightened us thusly:
>> Test case:

>> <table>
>> <tr bgcolor="yellow"><td>yellow background</td></tr>
>> <tr><td>no background</td></tr>
>> </table>

> I think it always inherits the /first/ colour defined, thus, to add to your
> test case;

> <table>
> <tr bgcolor="yellow"><td>yellow background</td></tr>
> <tr><td>no background</td></tr>
> <tr bgcolor="red"><td>red background</td></tr>
> <tr><td>no background</td></tr>
> </table>

> the bottom row appears as yellow (first one specified) and not red (last
> one specified).

I think you need to go one step further and start with
<table bgcolor="blue">
to make sure it's inherited correctly by the cells with no colour.
You could also have more than one cell in a row to check correct 
inheritance/override of table and row colours.


-- 
 _
|_|. _   Richard Porter               http://www.minijem.plus.com/
|\_||_                                mailto:[EMAIL PROTECTED]

Reply via email to