When it comes to formatting the layout of your forms you must ensure that the code structure is correct.
This is very important especially if you use tables to display your forms. Consider this basic form layout.
Heres the html<form method="" action="">
I have left out the field names. Note the positioning of the <form> </form> tags.
The whole table is enclosed between the <form> </form> tags. It is important that you follow that structure or your form might not submit.
Look at this structure<form action="">
This form would more than likely fail due to improper nesting.
Forms can be nested in a table. For example say you use tables to layout you site and you want a form BUT you want to use tables to layout your form. take a look at the the following structure to see how to do it properly.<table>
OK its pretty basic but you get the picture. With forms proper formatting is critical to successfully allow submission. Nesting your tags incorrectly may not have any visual side effects but remember - just because something looks right doesn't mean it is right :)
I hope you have found my guide to forms useful and not too boring. If you have any comments, good or bad, about this guide then please contact me. All comments are greatly appreciated. Thanks... Andy