I have problems with table width, that automatically expands itself.
Even when I have specified the width of the cell, however when the cell's data is a long string without any whitespace, then.. the width of the cell, hence the width of the table expands automatically.
Here is the code:
<html>
<TABLE width="20" border="1">
<THEAD>
<TR>
<TD width='10'>thisisbyright10pixelsonlyandcannotexpand</td>
<TD width='10'>thisisbyright10pixelsonlyandcannotexpand</td>
</tr>
</TABLE>
</html>
Anyone knows how to force the cell size fixed?
Thanks.
Even when I have specified the width of the cell, however when the cell's data is a long string without any whitespace, then.. the width of the cell, hence the width of the table expands automatically.
Here is the code:
<html>
<TABLE width="20" border="1">
<THEAD>
<TR>
<TD width='10'>thisisbyright10pixelsonlyandcannotexpand</td>
<TD width='10'>thisisbyright10pixelsonlyandcannotexpand</td>
</tr>
</TABLE>
</html>
Anyone knows how to force the cell size fixed?
Thanks.