【发布时间】:2014-03-05 20:47:08
【问题描述】:
我的输入旁边有一个长标签,它没有垂直对齐。
请问like it was in Bootstrap 2有什么解决方法吗?
<form class="form-horizontal" role="form">
<div class="form-group">
<label for="input1" class="col-lg-2 control-label">Labdas kjas kljas dlkjasd lksjd el1</label>
<div class="col-lg-10">
<input type="text" class="form-control" id="input1" placeholder="Input1">
</div>
</div>
<div class="form-group">
<label for="input2" class="col-lg-2 control-label">Label2</label>
<div class="col-lg-10">
<input type="password" class="form-control" id="input2" placeholder="Input2">
</div>
</div>
</form>
【问题讨论】:
标签: html css twitter-bootstrap twitter-bootstrap-3