1
I used the following code to show some data in a table:
<table>
<thead>
<tr heigth="2px">
<th align="left" width="180">Nr DBC</th>
<th align="left" width="380px">Descrição DCB</th>
<th align="left" width="400px">Medicamento / Apresentação</th>
<th align="left" width="80">Estoque 
 Inicial</th>
<th align="left" width="80">Entrada
 (Aquisição)</th>
<th align="left" width="80">Saida 
(Receitas)</th>
<th align="left" width="80">Perda</th>
<th align="left" width="80">Estoque 
 Final</th>
</tr>
</thead>
<tbody>
<tr heigth="5px" ng-repeat="item in lstMov" class="small">
<td height="5px"><h6>{{ item.dcb_substancia }}</h6></></td>
<td height="5px"><h6>{{ item.nome_substancia }}</h6></td>
<td height="5px"><h6>{{ item.nome_medicamento }}</h6></td>
<td height="5px" align="center"><h6>{{ item.estoque_anterior }}</h6></td>
<td height="5px" align="center"><h6>{{ item.qtde_entrada }}</h6></td>
<td height="5px" align="center"><h6>{{ item.qtde_saida }}</h6></td>
<td height="5px" align="center"><h6>{{ item.qtde_perda }}</h6></td>
<td height="5px" align="center"><h6>{{ item.estoque }}</h6></td>
</tbody>
</table>
The result is displayed in the image:
I need to decrease the line height, as you can see in the image, it’s very high, in the td
and tr
, assigning heigth="5px"
, but it had no effect.
How can I change line height? I’m using this template
I don’t know if this answer is still useful to you, but in the <tr> line 3 tag declaration and on line 15, there is a spelling error in the height parameter. You wrote heigth.
– danilo gabriel