Web Hosting Talk







View Full Version : Tables and Forms html question


mrjones109
02-10-2003, 06:39 PM
Should I put the <form> tag inside the <table> tag? Or vice versa? It works either way, so does it really matter?

Thanks

Aralanthir
02-10-2003, 07:03 PM
If you have your form inside a table, it's probably better style to put it inside the table tag (easier to find it, etc.). But I don't think it matters much.

Studio64
02-10-2003, 07:28 PM
<form> outside of table.
Depending on the browser sometimes it can cause unexplained white spaces. Just put what you need inside of the table tags.

Rich2k
02-10-2003, 07:46 PM
Actually the white space issues can be solved by putting the <form> and </form> between <table> and <tr> and </td> and </table>

It's works find, however you'll find it won't validate correctly in the W3 validator.