user387879
user387879

Reputation:

styling input type checkbox

how can i style <input type="checkbox"> tags?

i need to change border type and color...

Thanks a lot

Upvotes: 1

Views: 2271

Answers (1)

Sarfraz
Sarfraz

Reputation: 382706

If something happens in any browser I'd be surprised. This is one of those outstanding form elements that browsers tend not to let you style that much, and that people usually try to replace with javascript so they can style/code something to look and act like a checkbox.

Here's an example: prettyCheckboxes.

Note that you could do this:

input[type=checkbox] { ... }

But that won't work in IE6 (and possibly IE7).

Upvotes: 2

Related Questions