Neil
Neil

Reputation: 779

input type checkbox design issue

How to change the input type Checkbox border,background and compatible with every browser

I have used

.chkBox{
 border:1px solid red;
 background:#CC3333;
 width:15px;
 height:15px

 } 

But i am not getting my desire out put.

Upvotes: 1

Views: 736

Answers (2)

Rauf
Rauf

Reputation: 12842

If you can use jQuery, you can customize the check boxes. Please go here

Upvotes: 0

sandeep
sandeep

Reputation: 92793

Checkbox is one of the element that browsers tend not to let you style that much. for that you can use JS http://www.no-margin-for-errors.com/projects/prettycheckboxes/

OR

You can achieve this with css hack check this

http://www.thecssninja.com/css/custom-inputs-using-css

Upvotes: 1

Related Questions