Re: label across /td

On Thursday, February 13, 2003, at 01:09  PM, Aaron Smith wrote:
> Ideally, we will be able to retrieve the contents of the label and 
> apply it to the "associated" element regardless of what lies within 
> the label tag. But just to make sure I understand, are you proposing 
> that beginning and ending row tags might be inside of a label tag?

I'm sure Joe can clarify this himself, but I think the question was 
whether the labels would be associated properly in the context of code 
below. Would selecting the label move focus to the correct checkbox 
despite the label and the checkbox being in different cells:

<form>
<table>
<tr>
<td><label for="item1">Item 1</label></td>
<td><label for="item2">Item 2</label></td>
</tr>
<tr>
<td><input type="checkbox" name="item1" id="item1"></td>
<td><input type="checkbox" name="item2" id="item2"></td>
</tr>
</table>
...
</form>

> At 03:41 PM 2/13/2003, Joe Clark wrote:
>> Kwickie kwestion about use of the label element across the closing
>> tag of block-level elements, as </td><td>.

-
m

Received on Thursday, 13 February 2003 17:06:20 UTC