Biying Huang wrote:

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.
text-align is about aligning *inline* content.
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

Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel

Reply via email to