Skip to content

24 ways to impress your friends

Vote up?

Goulven Champenois

With such markup as (see link below), label:hover allows easy highlighting of the relationship. Of course, it only works in modern browsers, but this little bonus is very easy to add and requires absolutely no javascript.

Actually, it even works when no for/id value pair is set, which is super-convenient for generated forms where no id-generating is done.