I have a table:
<table width="200px">
<tr>
<td>
<font style="font-size:14px;"><?php echo $text; ?></font>
</td>
</tr>
</table>
The $text variable is dynamic, and might be 3 characters long, or 50 characters long.
The problem is the width of the table column is limited to 200px.
How can I make the text always fit on one line, and preserve the limited width of the table?
I am looking for something like a dynamic font-size function? Or any other (good/easy) way?
Thanks