Bootstrap水平表单"control-label"不使用响应式样式

Jam*_*ght 5 twitter-bootstrap twitter-bootstrap-2

我正在使用Bootstrap 2的"form-horizo​​ntal"类,但我的标签似乎没有使用Responsive样式.这就是它的样子:

在此输入图像描述

当我检查它时,它在标签上特别具有"width:160px",这是常规的Bootstrap设置,但是Responsive样式只有"width:auto".

我对该部分的HTML看起来像这样:

<form id="addproject" class="form-horizontal">
    <div class="control-group">
        <label for="title" class="control-label">Title</label>
        <div class="controls">
            <input type="text" name="title" id="title" />
        </div>
    </div>
</form>
Run Code Online (Sandbox Code Playgroud)

小智 1

bootstrap.css必须在文件之前加载bootstrap-responsive.css