Oddbean new post about | logout
 Dear Lazyweb,

In Safari, clicking this checkbox just toggles it. In Firefox, it both toggles it and loads the URL. How do I make it not do that?

<a href="/"><input type=checkbox>text</a>

('Move it outside of the A" is not the answer I am looking for.)

Update: I have tried many things involving event handlers and z-index that haven't worked. I'm interested a tested solution that works, not something off the top of your head that you think might work. (Why do I have to say this out loud.)