Friday, December 8, 2017

Space between lable and checkbox

When you create a CheckBox or CheckBoxList control, there will be no space or hardly any between label and input control like this..

 

to increase the space between label and input control use following stylesheet..

input[type="checkbox"]{margin-right: 5px;}

After using this stylesheet control will look like now..

  

After using this snippet it will alter spaces off all CheckBoxes and CheckBoxList control automatically.