W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2008

more advanced table column aligning

From: Arian Hojat <armyofda12mnkeys@gmail.com>
Date: Fri, 2 May 2008 17:06:39 -0400
Message-ID: <797650580805021406l1b58571cl2a49cdec8e85877d@mail.gmail.com>
To: www-xsl-fo@w3.org

i was requested to change my columns of a table i made from center
aligned to flush right since the table cells were numbers like $10.00
and needed to be aligned.
and I did that. but then the clients wanted the header row columns
centered over those flush right columns. kinda got stumped. i thought
easiest way would be to leave all the table cells  (header and data
rows) flush right but apply negative margins to the right side of the
header row's cells (so slightly moving those columns to the right).
That didnt seem to work (negative margins werent respected in newest
FOP). Then I changed the header columns back to center align but left
the data columns at flush right, and applied regular right margins to
each data cell. So basically moved the columns to look like they are
centered. This was alot more work.
Is there a better way to do this?

Thanks,
Arian
Received on Sunday, 4 May 2008 15:20:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 4 May 2008 15:20:17 GMT