Styles (CSS)

Use #id selector to assign css rules to the checkbox control.

#checkbox1 {width: 200px; background: #ddd;} 
#checkbox2 {left: 100px; position: relative;} 
#checkbox3 {color: red; font-weight: bold;} 
#checkbox4 {text-align: right; width: 200px; background: #ddd;} 

Back to checkbox examples, all examples