On Tue, 11 Nov 2003 10:29:08 +1300, "Conax" <Co******@hotmail.com>
wrote:
Hi William,
I tested with the em unit but it created a table width much more than
required. Here's my test code:
<HTML>
<TABLE border="1" style="width:50em">
<TR>
<TD>
<FONT face="arial">123 56 8 012 456 890 2 45 7 9 1 3 5 7890 234 678 0</FONT>
</TD>
</TR>
</TABLE>
</HTML>
The result is like this:
123 56 8 012 456 890 2 45 7 9 1 3 5 7890 234 678 0
Read up on the definition of an "em". 1em = the width of the character
"M" in the current font. Given the fact that the font you are using is
probably proportional, not many (if any at all) of you numbers are as
wide as a captital M. Therefore, a space that is as wide as 50 "M"'s
will difinitely be wider than the characters you chose to put into it.
Now, to give a possible answer for your spacing delema, you might try
using <NOBR> </NOBR> and do not give a width property to the TD, but
some would say this is a bad idea.