Re: LABEL behaviour

You can accomplish this today with CSS if you wrap your input field with the label tag, rather than using the for attribute. Just apply a :hover style to the pair. Unfortunately, IE doesn't even support this syntax, so you lose most of the world audience today... but hopefully something will change soon.

But that's an issue of implementation; the spec as it now provides for both your desired functionality and the label tag just acting on its own, so the option is left with the author - that's good, IMO.


-----Original Message-----
From: Скорецкий Артём <a.skorecki@taom.ru>

So, IMHO <label> element should distribute mouseOver and mouseOut events 
to linked object (set by LABEL's "for" atribute to object's "id" value)).
--------------------------





-Chris "SoopahMan" Moschini
http://hiveminds.info/
http://soopahman.com/

Received on Thursday, 9 October 2003 10:04:00 UTC