Page 1 of 1

How to adjust table height to text size

Posted: Fri May 21, 2021 11:11 am
by Kakashi
Hello all !
I'm wondering how to reduce the height of each cell of a table (using the <td></td> code). More precisely, I would like to adjust it to the text size inside.
As an axemple :

<tr><td><font size="3"> "My text" </font></td></tr>

Gives me the same line height than :
<tr><td><font size="1"> "My text" </font></td></tr>

Any idea to solve that problem ?

Thanks for all in advance !