title: fill input into height and width of Bootstrap table cell
body: <p>I have a table (using Bootstrap 3.0) with an input field in each cell</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;table id="itemTable" border="1" class="table table-bordered table-striped"&gt;
                          &lt;thead&gt;
                              &lt;tr&gt;
                                  &lt;th &gt;Quantity&lt;/th&gt;
                                  &lt;th&gt;Unit&lt;/th&gt;
                                  &lt;th&gt;Material Name&lt;/th&gt;
                                  &lt;th&gt;PO Vatable&lt;/th&gt;
                                  &lt;th&gt;PO TAX&lt;/th&gt;
                                  &lt;th&gt;PO Total&lt;/th&gt;
                              &lt;/tr&gt;
                          &lt;/thead&gt;
                          &lt;tbody&gt;
                              &lt;tr&gt;
                                  &lt;td&gt;
                                      &lt;input type="number" min="1" class="form-control" name="Quan[]"&gt;
                                  &lt;/td&gt;
                                  &lt;td&gt;
                                      &lt;select id="BX_gender" name="Unit[]"&gt;
                                          &lt;option&gt;Kg&lt;/option&gt;
                                          &lt;option&gt;Piece&lt;/option&gt;
                                          &lt;option&gt;Meter&lt;/option&gt;
                                          &lt;option&gt;Pound&lt;/option&gt;
                                          &lt;option&gt;Gram&lt;/option&gt;
                                          &lt;option&gt;Feet&lt;/option&gt;
                                      &lt;/select&gt;
                                  &lt;/td&gt;
                                  &lt;td&gt;&lt;input type="text" name="Material[]"&gt; &lt;/td&gt;
                                  &lt;td&gt;&lt;input type="number" step="0.01" class="small" name="POVATABLE[]"&gt; &lt;/td&gt;
                                  &lt;td&gt;&lt;input type="number" step="0.01" class="small" name="POTAX[]"&gt; &lt;/td&gt;
                                  &lt;td&gt;&lt;input type="number" step="0.01" class="small" name="POTOTAL[]" onkeyup="onRequestTotalModification(this.parentNode.parentNode.rowIndex)"&gt; &lt;/td&gt;
                              &lt;/tr&gt;
                          &lt;/tbody&gt;
                      &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I'm trying to set the input to have the width &amp; height of the cell containing it, but nothing is working (even inline styling).
  I organized the table using <code>thead</code> and <code>tbody</code> tags, but it didn't fix anything</p>