Reputation: 1168
I want to have my bootstrap checkbox labels UNDER their checkboxes, looking like this:
My current code is this:
<div class="well container-fluid text-center">
<img src="dummy.png" class="img-circle img-responsive" />
</br>
<lable for="check">Lable</lable>
</br>
</br>
<input type="checkbox" id="check">
</div>
...but this doesn't seem very elegant. Is there a better way?
Upvotes: 1
Views: 472
Reputation: 8113
I can't vouch for this being the most elegant or proper solution, but it is much better than using line breaks in your code. Check out the bootply
<div class="container">
<input type="checkbox">
<div class="row">
<label>Label</label>
</div>
Simply place your checkbox, then put the label in a new row.
Upvotes: 1