According to this reference
[QUOTE]
[url]http://www.w3.org/TR/html401/index/attributes.html
The “align’ keyword is still part of 4.01 and is associated with the “td” element. I am using a 4.01 strict doctype, and the align=’right’ is not right aligning my cells at all. As a matter of fact I am finding it very difficult to set any kind of class that will. The only thing that is getting the job done is on each iteration of output to specify it in the output as a style attribute in css manner like:
[CODE]
<td style=”text-align:right”>12.75</td>
//or
<td style=”text-align:right”><?php $Amt ?></td>
That’s pretty unwieldy, when according to the reference this should work, but doesn’t:
[CODE]
<colgroup>
<col width=”145″>
<col width=”70″ align=”right”>
<col width=”70″ align=”right”>
</colgroup>
Am I reading something wrong?