Forum Moderators: open
I know that radio button and checkbox can not be changed using style (except the border color and thickness).
The checkbox are much too big for my current layout.
So I have tried to use radio button : the size is OK but because my radio buttons have a different name (to allow multiple choices), I can CHECK them individually but I can not UNCHECK them individually.
Is there a way to reduce the size of checkbox or to uncheck independant radio button on second click?
Thanks
That said, I don't think it would be too hard to write a javascript that onclick of a radio button rewrote it's checked attribute (though I've never tried it.)
Adam
I think in some browsers the box size is related to the font size... Or maybe even to graphics in a user-installed browser theme or skin. Like with scrollbars, it's not really a webmaster's job to alter stuff like that. It might even be difficult for some people to see...
Anyhow, I'm pretty sure Flash is capable of this, but I guess that doesn't interest you.
But still, it's not a good idea to interchange these two different elements and then hack the behavior. It's as bad as using blockquote just because the indent looks nice.