Pages tagged webform:

XHTML/CSS web forms: 5 simple techniques | TRIF3CTA | Austin, TX
http://trif3cta.com/blog/entry/xhtml-css-web-forms-5-simple-techniques/

XHTML/CSS web forms: 5 simple techniques by Judd Lyon Feb 14, 2009Filed in: Web design & development Technique 1: The Label Sandwich Wrap your inputs, selects, and textareas in the label element, and set them all as block-level. Set radio buttons and checkboxes to display inline so they'll appear on the same line. If you'd like your label and radio buttons/checkboxes on separate lines, you can either choose not to wrap it in the label, or use a hard line-break. One of each is shown below. While this may seem a little funky, the W3C actually shows this in their "implicit" label example.