How to use tables to structurize forms in HTML, and about alternatives, like FIELDSET
How to use tables to structurize forms in HTML, and about alternatives, like FIELDSET
Tables and forms can be nested either way. But if you put forms into tables, each form must be completely included into a single table cell (one TD element in practice). Thereby the forms are each completely independent.
<table>
<tr><td>...</td><td>...</td>...</tr>
<tr><td>...</td><td>...</td>...</tr>
...
<tr><td>...</td><td>...</td>...
<td>
<form action="...">
<input ...>
<input ...>
...
</form>
</td>
</tr>
</table>
<form action="...">
<table>
<tr><td>...</td><td>...</td>...</tr>
<tr><td>...</td><td>...</td>...</tr>
...
<tr><td>...</td><td>...</td>...
<td>
<input ...>
<input ...>
...
</td>
</tr>
</table>
</form>
沒有留言:
張貼留言