-1
Test scenario
I have a table
within a form
, because I need to make a form
aligning rows and columns to the inputs
.
Example:
<table class="table table-bordered" style="font-size: 0.8rem">
<thead>
<th class="table-dark" colspan="11">Discriminação da operação</th>
</thead>
<thead>
<th class="table-secondary">.</th>
<th class="table-secondary">A A A</th>
<th class="table-secondary">B B B</th>
<th class="table-secondary">C C C</th>
<th class="table-secondary">D D D</th>
<th class="table-secondary">E E E</th>
<th class="table-secondary">F F F</th>
<th class="table-secondary">G G G</th>
<th class="table-secondary">H H H</th>
<th class="table-secondary">I I I</th>
<th class="table-secondary">J J J</th>
</thead>
<tbody>
<tr>
<th class="table-secondary">Valores A</th>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
</tr>
<tr>
<th class="table-secondary">Valores B</th>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
</tr>
<tr>
<th class="table-secondary">Valores C</th>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
<td><input type="number" name=""></td>
</tr>
</tbody>
</table>
Problem
I need to scale down a few inputs
.
I tried to:
<td><input type="number" name="" width="10px"></td>
<td width="10px"><input type="number" name=""></td>
But I didn’t succeed.
- How could these inputs decrease?
My beloved downvoter follower never fails! My fan :)
– rbz