我有這兩個文本框我想並排,目前他們堆疊onother的彼此。html對齊與文本框
我越來越緊張了!它的東西很愚蠢,但我無法找到它!
下面是代碼:
<div class="form-group">
<strong>Date:</strong>
<div class='input-group date datepicker' ng-model="package.dateA">
<input type='text' id="date" ng-model="package.dateB"
class="form-control"/>
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
<!-- <div class="form-group"> -->
<strong>Time:</strong>
<div class='input-group date timepicker' ng-model="package.timeA">
<input type='text' id="time" ng-model="package.timeB" class="form-control"/>
<span class="input-group-addon">
<span class="glyphicon glyphicon-time"></span>
</span>
</div>
</div>
請發佈您的CSS或jsfiddle。 – Alex