Mitch Statz wrote:
> Why are you nesting the input tag within the label tag?

1. Because this allows me to establish a styling container (label) for the
form field.

1a. ...which then allows me to create horizontal form layouts without having
to resort to non-semantic HTML (div/span) or tables. (
http://www.themaninblue.com/writing/perspective/2004/03/24/ For example. )

2. Because the HTML 4.01 specification makes an 
http://www.w3.org/TR/html4/interact/forms.html#edef-LABEL explicit point  of
saying it's valid:

"To associate a label with another control implicitly, the control element
must be within the contents of the LABEL element. In this case, the LABEL
may only contain one control element. The label itself may be positioned
before or after the associated control."
-- 
View this message in context: 
http://www.nabble.com/Validation-problems-with-Internet-Explorer-and-LABEL-tp18198549p18201514.html
Sent from the stripes-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to