Re: Problem tidying.

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 UTC