Reputation: 125584
how can i make cool check-box and select-box elements in html form ,
that work in IE
too ?
Upvotes: 1
Views: 1340
Reputation:
Checkboxes and radiobuttons can't be styled (consistently) every browser displays them in their own way, and some browsers ignore the styles set to them completely.
What Ólafur Waage said (creating a fake element via javascript) is the most common way of doing it as far as i know.
Upvotes: 0
Reputation: 70001
What is usually done is to create a fake element that (via javascript) sets the value to a hidden element (hidden via css). Then this fake element can have any visual style applied to it.
Upvotes: 2