top | item 1476304

(no title)

mr_justin | 15 years ago

I opt for a P around both the label and the field, gives greater CSS hooks and encapsulates each form area nicely.

discuss

order

aarongough|15 years ago

That's what I generally do as well...

bkudria|15 years ago

Fact: you can wrap input elements in a label element. No extra for attributes required, either.

mr_justin|15 years ago

Yes but if you want to float the label and have it cleared in the next "row", that's where the separation of elements comes in handy.