Twitter Bootstrap aligning checkbox

巧了我就是萌 提交于 2020-01-14 05:51:30

问题


How can I align <div class="checkbox">...</div> with the <input class="form-control" type="text" id="text"> and not the <label>...</label> ?

I am using the latest bootstrap.

Here is the plnkr.

Update:

To be precise, I am trying to vertically middle align the entire <div class="checkbox">...</div> with the <input> tag and not the tag's label


回答1:


maybe try with nested columns: http://plnkr.co/edit/6iafYcHG9K461CiFNOpk?p=preview



来源:https://stackoverflow.com/questions/23290302/twitter-bootstrap-aligning-checkbox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!