On Mar 9, 2009, at 3:07 AM, Klaus Hartl wrote:
One reason not doing it is probably because IE only supports
explicitly associated labels.
--Klaus
Sure, but that doesn't mean you can't do this:
label for =myid
input type=checkbox id=myid name=myid /
/label
Not saying that I prefer
On 10 Mrz., 16:00, Karl Swedberg k...@englishrules.com wrote:
label for =myid
input type=checkbox id=myid name=myid /
/label
Not saying that I prefer this way, just that it's possible.
--Karl
Cool. I've never tried that...
--Klaus
One reason not doing it is probably because IE only supports
explicitly associated labels.
--Klaus
On 9 Mrz., 04:13, Karl Swedberg k...@englishrules.com wrote:
having the input inside the label is perfectly valid.
http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1
To associate a
is there any reason why you couldn't use a span instead of a
label ?
On Mar 8, 8:57 pm, Bill bllfr...@gmail.com wrote:
I have markup that looks like this:
div id=phrase:witness%2Bwhereof class=as-s-comp
label class=checkbox title=witness whereof
input type=checkbox
Actually, no. Thanks for the simplification!
On Mar 8, 6:12 pm, MorningZ morni...@gmail.com wrote:
is there any reason why you couldn't use a span instead of a
label ?
On Mar 8, 8:57 pm, Bill bllfr...@gmail.com wrote:
I have markup that looks like this:
div id=phrase:witness%2Bwhereof
And why is the input within the label?
I was under the impression that the correct format is:
labelMy Label/labelinput type=checkbox /
To have the label select the checkbox:
label for=my-checkboxMy Label/labelinput id=my-checkbox
type=checkbox /
David
MorningZ wrote:
is there any reason
having the input inside the label is perfectly valid.
http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1
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
7 matches
Mail list logo