<div class="form-group">
<label class="col-sm-2 control-label">Text</label>
<div class="col-sm-10">
<div class="checkbox">
<label class="checkbox-inline">
<input id="123" name="Checkbox" value="a" type="checkbox">
</label>
</div>
</div>
</div>
The "Text" is not aligned with the checkbox. The checkbox is slightly below the Text. How do I make them both on the same line? The "Text" is not exactly a label, If I add a label after the input tag the alignment is okay. However, I want the "Text" to be display on the left like so.
Aucun commentaire:
Enregistrer un commentaire