2011-11-29, 05:06 PM
Out of everything to be styled on a form, checkboxes are the worst. Firefox won't resize them, Chrome will only do it if you specify a size. Surprisingly, IE actually behaves properly in that regard - I know it's shocking. The worst bit is none of them will let you change anything about how they look, without going seriously overboard. In theory it can be done with CSS3 only, but it's fiddly, long, convoluted and kind of random in how it works. (I can get it working in p tags, but not in a list, which is how I generally set up my forms).
I've spent all day looking for a short, elegant solution, and in the end I just went back to jquery. It does the job, it's easy, but it feels so wrong. A script shouldn't be necessary to change the appearance of a little box.
Anyways, enough of the rant Do you hate checkboxes as much as me? Do you hate styling anything else more? Should those in charge of browsers be beaten until they make them standards compliant, and those still on IE6 set on fire?
I've spent all day looking for a short, elegant solution, and in the end I just went back to jquery. It does the job, it's easy, but it feels so wrong. A script shouldn't be necessary to change the appearance of a little box.
Anyways, enough of the rant Do you hate checkboxes as much as me? Do you hate styling anything else more? Should those in charge of browsers be beaten until they make them standards compliant, and those still on IE6 set on fire?