我正在尝试使用类输入组创建一个“标签+组合框”输入组来对跨度和选择进行分组,但是,与我尝试分组的其他组件不同,跨度的宽度比我期待着。我究竟做错了什么 ?
代码示例:
<div class="row" id="entradaDadosExameRegiao"> <div class="col-lg-4 col-md-4 col-sm-4 col-lg-offset-3" > <div class="input-group" id="dataPreferencia"> <span class="input-group-addon">Data de Preferência</span> <input type="text" class="form-control" placeholder="dd/mm/aaaa"> </div> </div> <div class="col-lg-5 col-md-5 col-sm-5" > <div class="input-group" id="regiaoAgenda"> <span id="labelRegiaoAgenda" class="input-group-addon">Região</span> <select id="entradaRegiaoAgenda" class="selectpicker"> <option>Botafogo</option> <option>Copacabana</option> <option>Icarai</option> <option>Icaraiajdijwadioawmjdioawdioawd</option> </select> </div> </div> </div>
我也尝试过强制宽度,但没有奏效:
#labelRegiaoAgenda { witdh: 100px; }
有什么建议么 ?