W3C home > Mailing lists > Public > www-validator@w3.org > March 2005

Re: [VE][64] Error Message Feedback

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 13 Mar 2005 00:11:38 +1100
Message-ID: <4232EA8A.5080706@lachy.id.au>
To: Max Payne <retula@gmail.com>
CC: www-validator@w3.org

Max Payne wrote:
> I Think this is an error, tr should be allowed in a form?

Why?  tr is a table row, thus it is designed to markup table rows within 
tables.  Why are you trying to use it within a form?  My only guess 
could be for some presentational, tables-for-layout reason.

It's difficult to know without you providing a URL, but does your markup 
have this kind of structure?

<table>
   <form ...>
     <tr>
       <td><input ... ></td>
       <td><input ... ></td>
       <td><input ... ></td>
     </tr>
   </form>

   <tr>
     <td> ... </td>
     <td> ... </td>
     <td> ... </td>
   </tr>
</table>

If so, remove the form from it's current position and surround the 
entire table with it.

<form>
   <table>
     ...
   </table>
</form>

If you have multiple forms within the same table, consider breaking it 
up into seperate tables, or stop using tables for layout, if that is 
their purpose in your page.

-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Received on Saturday, 12 March 2005 13:11:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:18 GMT