The reason I use this was because I found an easy way to style forms that included the broader compatibility for the clickability of labels for focus with the flexibility of layout with the inclusion of a span like:
<label for="name"> <span>First Name</span> <input type="text" /> </label> I use this a lot for putting the label text next to the input, instead of stacking, and it gives easy control of this layout. Any info on the wrapping of inputs in a label being bad would be appreciated. On Wed, Aug 19, 2009 at 2:59 PM, James O'Neill<freexe...@gmail.com> wrote: > Hmmm... I do not really remember. > I have used both together and separately at different times. > By enclosing a form control with a label you will have a little more control > over relative styling since you could something like this: > label:hover input {outline:solidl} > or have more precise placement and control over their location relative to > each other: > label {position:relative;} > input {position:absolute; right:x;} > I think there are some older browsers that like one method over the other. > Just a few thoughts. > Jim > -- Tom Livingston | Senior Interactive Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************