I am having a problem with a table when I use the <pre> tab to format the cell's content.
Code:
<table border="0" cellpadding="1" cellspacing="5" style="background-color: #F4F4F4; text-align: left;">
<td style="background-color: red;">
<pre>
1
2
</pre>
</td>
<td style="background-color: blue;">
<pre>
lots of text... columns width being too small doesn't matter
more text is down here
</pre>
</td>
</table>
The cells refuse to be smaller then about 130px? The cell color's were added to make the problem apparent.
Am I misusing the <pre> tag somehow?
Thanks.
|