W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

Re: Problem tidying.

From: Fred Bone <Fred.Bone@dial.pipex.com>
Date: Wed, 11 Jun 2003 15:29:44 +0100
To: Matthew Stanfield <mattstan@blueyonder.co.uk>, html-tidy@w3.org
Message-ID: <3EE74AE8.7510.248A78E@localhost>

On 11 Jun 2003 at 14:29, Matthew Stanfield wrote:

> The problem is that a form is started in a table after the first <tr> but 
> before that <tr>'s first <td>. Hence the following errors and warning.
[...]
> <table class=yellow border=0 width=210 cellpadding=0 cellspacing=0>
> <tr>
> <form method=post action="taken out" id=ipfform name=ipfform>
> <input name=nosonpage type=hidden value=5>
> <!-- several more inputs removed by me -->
> <td class=blue width=1><img src="/images/a.gif"></td>
> <td class=blue width=1><img src="/images/a.gif"></td>
> <!-- several more <td>'s with <input>s removed by me -->
> </tr>
[...]
> </form></tr></table>
> 
> You will notice that <form> ends in apparently the correct position, that 
> being before the </tr> which, in turn is correctly placed before the </table>.

No, it isn't correct.

> The problem seems to be the starting point of the <form> being before the 
> first <td>.
> 
> How can I make this get tidied. -- I am stuck!!

Move <form> to precede <table> and </form> to follow </table>
Received on Wednesday, 11 June 2003 10:30:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:54 GMT