Forum How do I...?

Apply char align for table cells

Bala
Hi Guys,

I have a table containing decimal numbers in one column. I'm looking to align them in a same manner. Is there any way to accommodate this decimal align using CSS properties in Prince XML?

<table>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td align="char" char=".">$100.00</td>
</tr>
<tr>
<td>February</td>
<td align="char" char=".">$10.00</td>
</tr>
</table>


Thanks,
Bala

Edited by Bala

mikeday
At the moment the easiest way is to right align the numbers.
newgen
Hi Mike,

Please suggest how to align decimal align in table.
mikeday
Is right alignment a possibility?