Biying Huang wrote:
text-align is about aligning *inline* content.I have a table which has dynamic table-width. I need to put it in the center of the page horizontally so I put the fo:table in a fo:block and set text-align="center" to the fo:block. But this doesn't work. The table is always on the left.
In a pure xsl-fo exist at least 2 different methods of centering a table on a page, both are actually tricks and unfortunately FOP doesn't support both of them. Therefore the only way is using a blind table, see http://marc.theaimsgroup.com/?l=fop-user&m=102952965830886&w=2.
-- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel