Twitter bootstrap 在引导中,将标签放置在复选框下的最优雅方式
我希望在其复选框下有我的引导复选框标签,如下所示: 我目前的代码是:Twitter bootstrap 在引导中,将标签放置在复选框下的最优雅方式,twitter-bootstrap,layout,checkbox,positioning,Twitter Bootstrap,Layout,Checkbox,Positioning,我希望在其复选框下有我的引导复选框标签,如下所示: 我目前的代码是: <div class="well container-fluid text-center"> <img src="dummy.png" class="img-circle img-responsive" /> </br> <lable for="check">Lable</lable> </br> </br
<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>
拉布勒
…但这看起来不太优雅。有更好的方法吗?我不能保证这是最优雅或最合适的解决方案,但它比在代码中使用换行符要好得多。查看
标签
只需放置复选框,然后将标签放入新行。在图片中,复选框位于标签下方。您的要求和图片显示是不同的。@用户3351652如果这对您有帮助,请不要忘记单击答案旁边的复选标记。此外,还可以查看更多格式帮助。
<div class="container">
<input type="checkbox">
<div class="row">
<label>Label</label>
</div>