- From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Date: Sun, 13 Mar 2005 00:11:38 +1100
- 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 UTC