W3C home > Mailing lists > Public > www-html@w3.org > December 2000

RE: Background image

From: Charles F. Munat <chas@munat.com>
Date: Thu, 21 Dec 2000 11:08:34 -0800
To: "'Ken Grygiec'" <kgrygienc@agencyr.com>, "'W3C'" <www-html@w3.org>
Message-ID: <004801c06b81$6aa0cc10$0100a8c0@aries>
The background attribute is deprecated. Use a style sheet to set the
background:

background-color: #ffffff;

or

background: #ffffff url("http://some.com/images/bgnd.gif");

You can add this to the table element:

table { background: ... }

but I think you'll have better luck creating a generic class:

.WhiteBgnd { background: ... }

and then using the class attribute in the table tag.

Good luck.

Charles F. Munat,
Seattle, Washington



-----Original Message-----
From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf
Of Ken Grygiec
Sent: Thursday, December 21, 2000 7:42 AM
To: W3C
Subject: Background image


Can someone please explain the proper use of the background="" tag for use
with tables in both IE and Netscape?

Thanks,

>Ken Grygienc
 Agency R
 312.670.0177  x228
Received on Thursday, 21 December 2000 14:02:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:44 GMT