Styles (CSS)

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

#label1 {width: 200px; background: #ddd;} 
#label2 {left: 100px; position: relative;} 
#label3 {color: red; font-weight: bold;} 
#label4 {text-align: right; width: 200px; background: #ddd;} 

Back to label examples, all examples