W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Re: Background problem

From: Tim Jackson <lists@timj.co.uk>
Date: Mon, 10 May 2004 08:49:27 +0100
To: "SEAN MCDERMOTT" <mackviola@hotkey.net.au>, www-validator@w3.org
Message-ID: <E1BN5XS-0006GN-Um@virt1.clust1.firecluster.net>

Hi SEAN, on Mon, 10 May 2004 12:09:21 +0930 you wrote:

> <table border="1"  background="/images/bgdesert.jpg">
> <td   background="/images/bgdesert.jpg">  Second</td>

This is quite old-style code. It contains deprecated attributes including
the "background" one which you quoted the validator complaining about.

You should consider taking stylistic information about borders,
backgrounds, colours etc. out of your HTML and using style sheets (CSS)
instead. You'll be glad you did :)

Alternatively, if you want to keep using old-style HTML, you may need to
switch to an older doctype (e.g. HTML 4 Transitional) if you want to
provide valid pages.


Tim
Received on Monday, 10 May 2004 03:50:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT