background colour in TABLEs ?

2008-01-07 Thread Barry E Allen
In article [EMAIL PROTECTED], Tim Hill [EMAIL PROTECTED] wrote:

 Of course, bgcolor in the headers has a different effect to bgcolor
 in the cells or rows, as my example should have illustrated.

I may be missing something obvious but I can't see, having looked at
your example, how bgcolor in the headers has a different effect to
bgcolor in the cells or rows

-- 
Barry A.



Re: background colour in TABLEs ?

2008-01-07 Thread Tim Hill
In article [EMAIL PROTECTED], Barry E Allen
[EMAIL PROTECTED] wrote:
 In article [EMAIL PROTECTED], Tim Hill [EMAIL PROTECTED] wrote:

  Of course, bgcolor in the headers has a different effect to bgcolor
  in the cells or rows, as my example should have illustrated.

 I may be missing something obvious but I can't see, having looked at
 your example, how bgcolor in the headers has a different effect to
 bgcolor in the cells or rows

Did you copy and paste the html to a file and load it into a browser?

Here it is again, slightly amended, to make the three various locations
for bgcolor show off their differences, I hope more obviously.

htmlhead/headbody
table bgcolor=red cellspacing=16
tr bgcolor=green
td
well,
/td
td bgcolor=yellow
hello
/td
td
world
/td
/tr
/table
/body/html

-- 
Tim Hill,

www.timil.com




background colour in TABLEs ?

2008-01-06 Thread Roger Darlington

In HTML like:

TABLE width=548 border=1 bgcolour=#eeffee
P text etc
/TABLE

The background table colour is ignored.

I have looked at the Progress page, and it mentions
TABLES
 Elements col, colgroup, rowgroup and caption not implemented.

It doesn't seem to mention background colour as not being implemented.
[O2 doesn't ignore it, nor do other browsers I have tried].

Is the HTML legal?

-- 

Cheers
Roger
All good things come to an Ent. Hooom.



Re: background colour in TABLEs ?

2008-01-06 Thread Tim Hill

[Snip]

 although bgcolor is a deprecated tag - CSS is preferred. See
 http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.2.1 for more on
 this.

For the g'zillionth time, it may be deprecated for new content but
recommended that browsers support deprecated tags to support existing
pre-deprecation content. IYSWIM

The meaning of bgcolors in tables is clearer if you are able to see this
in a browser which does all three, such as Netsurf.  :-o

table bgcolor=#FF cellspacing=16
tr bgcolor=#00FF00
td bgcolor=#00
hello
/td
td
world
/td
/tr
/table

Each element can have its own bgcolor.

-- 
Tim Hill,

www.timil.com