如何将输入标签与div标签的底部对齐,第二个div的输入标签与标签日期收集的金额应与底部对齐。尝试添加 text-alignment-bottom 但它不起作用。
<div class="row col-sm-12" style="border: thin solid black ">
<div class="row " margin-top:4px>
<div class="col-sm-4 col-lg-2">
<label class="description" for="element_2"> Amount payable on this date </label>
<input type="number" required="required" class="form-control" name='amountdue' id="amountDue" onkeyup="diffInCollection()">
</div>
<div class="col-sm-4 col-lg-2">
<label class="description" for="element_2">Amount collected on date </label>
<input type="number" required="required" class="form-control text-bottom " name='collectedamount' align="bottom" id="amountCollected" onkeyup="diffInCollection()">
</div>
<div class=" col-sm-4 col-lg-2">
<label class="description" for="element_2">Shortfall in collections for the day </label>
<input type="number" required="required" class="form-control" name='shortfall' id="shortfall" value="">
</div>
</div>
</div>
不负相思意
慕容708150
相关分类