相关疑难解决方法(0)

Twitter Bootstrap - 将输入与控制组内的标签垂直对齐

<div class="control-group">
    <label class="control-label ">Date of purchase as detailed on your receipt</label>
    <div class="controls">
        <div class="input-append">
            <select name="invoice_date" value="2013-06-28" required="required">
                <option value="">Please Select</option>
            </select>
            <button type="button" class="btn info btn-primary" data-help="invoice_date">i</button>
        </div>
    </div>
</div>
Run Code Online (Sandbox Code Playgroud)

我尝试了一些解决方案和一种使用绝对位置的方法,但这会影响其他引导区域,特别是当它响应时.

http://jsfiddle.net/tGZLd/

我正在尝试将输入与标签的中心对齐,该标签已经被推到多行但是在最好的bootstrap实践中.

或者我应该放弃并强制它显示带有下方输入的全宽标签?

任何见解都会很棒,谢谢!

css forms twitter-bootstrap

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

css ×1

forms ×1

twitter-bootstrap ×1