I have a table
with short title but long cells (td
).
Is it possible to make the columns width to the smallest possible width of title ?
Example:
<table>
<tr>
<th>Name</th>
<th>phone</th>
</tr>
<tr>
<td>Santa</td>
<td>20938570987098709870298349082456</td>
</tr>
</table>
So, the column "phone" should show "20....."
Is it possible?