W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2003

Re: XSL-FO Decimal Alignment

From: Paul Grosso <pgrosso@arbortext.com>
Date: Thu, 19 Jun 2003 09:01:54 -0500
Message-Id: <4.3.2.7.2.20030619090002.01c1c818@172.27.10.30>
To: hostyt@Nationwide.com, www-xsl-fo@w3.org

At 09:19 2003 06 19 -0400, hostyt@Nationwide.com wrote:

>I have a table with two columns.  I'd like all of the values in the columns
>to align in the center of the cell, so all the decimals line up.
>
>ex.
>10.0
>100.0
>1000.0
>
>I would like the decimals to align in the center of the cell.
>
>Can you do this with XSL:FO?


Set text-align="." on all the relevant fo:table-cell's.

See the <string> value of text-align at
http://www.w3.org/TR/xsl/slice7.html#text-align

paul
Received on Thursday, 19 June 2003 10:02:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT