1
我需要使用固定大小的引導input-group
,這裏是JS小提琴鏈接https://jsfiddle.net/ncxge6md/1/,基本上我需要調整頁面調整大小時的輸入字段。bootstrap`輸入組`固定大小
<ul class="nav navbar-nav navbar-left">
<li
<form class="navbar-form" >
From Date:<br>
<div class="form-group">
<div class='input-group date' id='datetimepickerFrom'>
<input id = "date_idFrom" type='text' class="form-control" placeholder="From Date" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</form>
</li>
</br>
<br>
<li
<form class="navbar-form" role="search">
City:<br>
<div class="input-group">
<input autocomplete="off" id = "city_id" type="text" class="form-control" placeholder="City" name="q">
</div>
</form>
</li>
</li>
</ul>
在小提琴鏈接,我可以看到,如果兩個提交的寬度不相等。 – CodeDezk