Archive for August 30th, 2006
Removing annoying CSS borders on Checkboxes and Radio buttons
So, this is one of those caring, sharing geeky posts. When you apply borders to text inputs in CSS (to remove those bevelled edges you get by default) using input {border:1px solid gray;} … or whatever, it always messes up radio buttons and checkboxes.
One solution is to use attribute selectors, like so: input [type="text"] {border:1px [...]
Posted: August 30th, 2006 under CSS, Scripting, Tech.
Comments: 18