That is actually the normal function of a label element and always has been (as far back as I can remember at least). They are particularly handy for checkboxes and whatnot where clicking on the sometimes really tiny little target area is difficult for people with limited motor function or eyesight. Wrapping elements in a label provides both a nice semantic association between text and function, it also enhances usability making the active area of the control expand to include the descriptive text.
On Thu, Jul 15, 2010 at 10:11 PM, Ian Skinner <h...@ilsweb.com> wrote: > > On 7/15/2010 10:04 PM, Andrew Scott wrote: >> You seem to be applying the selector for the button press in the wrong >> place, if you move the nouse to say 150pixels left of the button on white >> space and press the LMB then the button seems to still be pushed. >> > Interesting. The button is in a label with no text. I didn't know > clicking on a label is the same has clicking on the button in the labe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:323154 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm