Twitter Bootstrap对齐复选框 [英] Twitter Bootstrap aligning checkbox

查看:88
本文介绍了Twitter Bootstrap对齐复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将<div class="checkbox">...</div><input class="form-control" type="text" id="text">而不是<label>...</label>对齐?

我正在使用最新的引导程序.

I am using the latest bootstrap.

这是 plnkr .

更新:

确切地说,我正在尝试将整个<div class="checkbox">...</div><input>标签而不是标签的标签垂直居中对齐

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

推荐答案

可以尝试使用嵌套列: http://plnkr.co/edit/6iafYcHG9K461CiFNOpk?p=preview

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

这篇关于Twitter Bootstrap对齐复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆