Originally posted by Michel V
Not so in Gecko-based browsers, where the background is inside the checkbox or radio button (still, you can't modify these buttons' borders).
As it is in Opera 7 BETA. But background-images are applied outside the "bound" (for lack of a better word--all the other are taken!) of the radio buttons and checkboxes. And borders go around the whole element's box (and CSS is box-based after all).
Also, instead of using classes you can use attribute selectors like:
Code:
input[type=radio] { /* ... */ }
input[type=text] { /* ... */ }
input[type=checkbox] { /* ... */ }
And the like. :-)
~~Ian
Bookmarks