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.

Received on Monday, 10 May 2004 03:50:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:40 UTC