1

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

i need to change border type and color...

Thanks a lot

1 Answer 1

2

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).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.