Silver Rabbit
November 15th, 2002, 02:51 PM
How would I align text in a table????
Thanx'
degsy
November 15th, 2002, 05:05 PM
To conform to newer methods you should put your text into DIV's or Paragraphs
(text defaults to the left so you don't have to specify for it)
<table width="300" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>left</td>
<td><div align="center">center</div></td>
<td><div align="right">right</div></td>
</tr>
</table>
The old way would be to use the align attribute in the TD tag
<table width="300" border="1" cellspacing="0" cellpadding="0">
<tr>
<td>left</td>
<td align="center">center</td>
<td align="right">right</td>
</tr>
</table>