|
Posted by Doug Laidlaw on September 28, 2005, 8:48 pm
Please log in for more thread options
Jim Moe wrote:
> Doug Laidlaw wrote:
>> HTML validators say that "background" is not a valid attribute for a <td>
>> tag [...] If I can't use <td background="img
>> src=.."></td>, what is the correct method?
>>
> style="background: url('images/gipsy.jpg')"
>
>> Some modern templates do it all with CSS, but that is getting a bit too
>> deep for my inexperience.
>>
> Layout style should be done with style sheets.
>
>> A URL is probably unnecessary, but here it is:
>> http://www.douglaidlaw.net/boykett/index.html
>>
> I would not have bothered without an URL.
>
>> At the moment, it is a mess: too many tables within tables. The image of
>> the ship is the one in question. I want to re-do it from the bottom up,
>> and code the cell correctly in the process.
>>
> Start by specifying HTML 4.01 Strict and resolving all those validation
> errors. Oh, and provide a character encoding; a common one for English
> (and many Europeans) is
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">.
> UTF-8 is popular, too.
>
Thanks. I normally use HTML Validator Lite. It didn't pick up the
particular error, but it has before. (It did say that there was an error
that the Pro version would have identified.) I have a good handbook on
basic CSS and DHTML. Since I am strictly an amateur, and against too many
gimmicks, I haven't gone deeply into DHTML. I dislike sites that have
Flash just for the sake of having Flash. A method of covering all browsers
might however be desirable.
Doug.
--
Registered Linux User No. 277548. My true email address has hotkey for
myaccess.
It's all right letting yourself go as long as you can let yourself back.
-- Mick Jagger.
|