W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

Re: tables?

From: Alexander Biron <biron@ifh.de>
Date: Thu, 2 Dec 1999 10:57:08 +0100 (MET)
To: John Littler <linuxmusic@crosswinds.net>
cc: html-tidy@w3.org
Message-ID: <Pine.HPP.4.10.9912021049170.5697-100000@hpbai1.ifh.de>
Hi John

On Thu, 2 Dec 1999, John Littler wrote:

> As far as I can tell html-tidy doesn't seem to handle
> two columns of nested tables. I passed it over one doc
> and it produced a staggered set ...
> from XXXX   XXXX
>      XXXX   XXXX
> to
>      XXXX
>             XXXX
>      XXXX
>             XXXX
> Am I doing something wrong here?

I did not experience any such difficutlties. One commmon problem with
nested tables occurs when the author omits the optinoal end tags. If
this is not the reason of your problem, please provide the URL of the
page tidy has problems with.

> ah, also it picks up <img> tags and
> declares no "alt"s have been used when the <img> tag is
> used as "background=" in a <td>. That's bogus.

Depends on your point of view. The W3C HTML 4.x standards defines alt as
being a required attribute for any kind of image. When tidy parses your
document, it tries to associate the most appropriate HTML standard to
your document and follows that standards requirements. So if tidy parses
your document as HTML 4.0, tidy does not care whether that standard is
bogus or not, it just follows it. 

BTW: you can define the standard your document follows with the Doctype
declaration at the top of your document.

Hope this helps, 

Cheers alex

Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
Received on Thursday, 2 December 1999 04:57:19 UTC

This archive was generated by hypermail 2.3.1 : Friday, 13 July 2018 08:58:58 UTC