Re: Background problem

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 UTC