One reason for not embedding an input tag inside a label tag:  the two
elements are more easily styled when they are separate.  For example,
the same markup can be used with two different CSS settings.  The first
CSS renders the label above the field and the second renders the label
beside the field.

-- Jeff


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to