-1
How do I align as in the image below the checkbox and label?
Here is not bobbing right, for better viewing can access:
http://jsfiddle.net/8f7aLch6/
Code:
$(function() {
$('#chkveg').multiselect({
includeSelectAllOption: true;
});
});
.multiselect-container>li>a>label {
padding: 4px 50px 3px 20px;
}
<script src="https://davidstutz.de/bootstrap-multiselect/docs/js/bootstrap-3.3.2.min.js"></script>
<script src="https://davidstutz.de/bootstrap-multiselect/dist/js/bootstrap-multiselect.js"></script>
<link rel="stylesheet" href="https://davidstutz.de/bootstrap-multiselect/dist/css/bootstrap-multiselect.css">
<link rel="stylesheet" href="https://davidstutz.de/bootstrap-multiselect/docs/css/bootstrap-3.3.2.min.css">
<form id="form1">
<div style="padding:20px">
<select id="chkveg" multiple="multiple">
<optgroup label="Frist Queue" id="Frist Queue">
<option value="cheese">Cheese</option>
<option value="tomatoes">Tomatoes</option>
<option value="mozarella">Mozzarella</option>
</optgroup>
<optgroup label="Second Queue" id="Second Queue">
<option value="mushrooms">Mushrooms</option>
<option value="pepperoni">Pepperoni</option>
<option value="onions">Onions</option>
</optgroup>
</select>
</div>
</form>
Guy didn’t get it right, you want the Text first and then the checkbox? I don’t understand exactly how you want to line things up....
– hugocsl
The
label
positioned to the left and thecheckbox
more positioned on the right. Only to highlight the groups more.– Tiago
I would like to leave this https://prnt.sc/p9ukig
– Tiago