Haim Evgi
Haim Evgi

Reputation: 125584

round corners and color border on html form elements

how can i make cool check-box and select-box elements in html form , that work in IE too ?

Upvotes: 1

Views: 1340

Answers (2)

RonnieW
RonnieW

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

Ólafur Waage
Ólafur Waage

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

Related Questions