2016-01-13 106 views
0

您好我需要在html表中使用引导添加文本字段,但是当在html表格单元格中使用引导类时,textfield太小。 在以下代码示例中,问题出现在textfield id =“Winvnetv”中。HTML表与引导文本字段

<table class="table table-bordered table-striped"> 
<tr> 
    <form id="formSuppliestrn" method="post" class="form-horizontal" > 
    <td> 
     <input type="text" name="Wsupplyid" id="Wsupplyid" > 
    </td> 
    <td><input type="text" name="Wsupplydesc" id="Wsupplydesc"></td> 
    <td><input type="text" name="Wquantity" id="Wquantity"></td> 
    <td> 
     <div class="form-group"> 
      <label class="col-xs-3 control-label">Ποσό τιμολογίου</label> 
      <div class="col-xs-3"> 
       <div class="input-group"> 
       <span class="input-group-addon">€</span> 
       <input type="text" class="form-control" name="Winvnetv" id="Winvnetv"/> 
       </div> 
      </div> 
     </div> 
    </td> 
    <td> 
     <input type="text" name="Wtotv" id="Wtotv"> 
    </td> 
    <td> <button type="submit" class="btn btn-sm btn-primary" id="trnadd"> 
     <span class="glyphicon glyphicon-plus-sign"></span> 
     </button> 
    </td> 
    </form> 
    </tr> 
    </tbody> 
    </table> 

有什么想法吗?

回答

0

您可以将input-lginput-sm类添加到文本框中。它会增加它的大小。

<input type="text" class="form-control input-lg" name="Winvnetv" id="Winvnetv"/>