G'day
I know there's two schools of thought regarding forms where one uses a table and the other a definition list to style and layout the data fields. I have a simple form on a client's "Contact Us" page, and I wondered if there's a consensus as to which method is more semantically correct?
Not sure about consensus, but I use labels with the form elements and style the labels to float left with a fixed width these days. No tables or definition lists needed. Use fieldset to group form elements.
There is however some consensus about using tables for layout.
There's also a "small" matter of accessibility... A quick scan of the webstandardsgroup.org resources section shows this link:
http://www.webcredible.co.uk/user-friendly-resources/web-accessibility/accessible-forms-1.shtml
Regards -- Bert Doorn, Better Web Design http://www.betterwebdesign.com.au/ Fast-loading, user-friendly websites
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
