html - How to put a label to right of a checkbox in bootstrap -
i've been trying lots of ways put <input type="checkbox" id="123"/>
infront of label, they're leaving huge gap between theirselves. workaround? here's html:
<div class="row"> <div class="col-sm-6"> <div class="input-group input-group-sm"> <input type="checkbox" id="processingconsultantyn" value="0" /> <label class="input-group-addon input-group-addon-pireus" aria-describedby="processingconsultantyn" id="lbprocessingconsultant" for="processingconsultantyn">Обработва се от Кредитен Консултант</label> </div> </div> </div>
here's how looks when being displayed on website , want fix:
try below code replace label
tag class checkbox-inline
.
<div class="row"> <div class="col-sm-6"> <div class="input-group input-group-sm"> <input type="checkbox" id="processingconsultantyn" value="0" /> <label class="checkbox-inline" aria-describedby="processingconsultantyn" id="lbprocessingconsultant" for="processingconsultantyn">Обработва се от Кредитен Консултант</label> </div> </div> </div>
Comments
Post a Comment