Re[2]: [xep-support] Centered table not centered and unwanted line break

From: Alexander Peshkov <>
Date: Wed Apr 27 2005 - 08:01:45 PDT

Hello Jost,

1. According to XSL-FO specification proportional-column-width() can
   be used only for table with fixed layout.
2. Main reason that you get unexpected result is width="100%"
   specified on the outer table. As recommended by CSS2 formatter
   first determines actual column widths and if resulting width is
   less then required (100% is your case) - distributes the rest of
   the space evenly among columns. In the second sample this leads to
   additional space in the second column thus breaking centering of
   "SHORT" table.

If you remove width="100%" from the outer table and specify
table-layout="fixed" you'll get what you want. Please find attached
modified version of your sample (I've removed some unnecessary stuff).

Best regards,
Alexander Peshkov

JK> Dear RenderX support team,

JK> I was able to remove the line break with non-breakable white space xa0.

JK> However, short table cells are still not centered.
JK> I tried an other approach using fo:table width="100%" for the inner table. This adds unwanted padding to the "SHORT" table.

JK> Cheers, Jost

JK> ----- Original Message -----
JK> From: "Jost Klopfstein" <>
JK> To: <>
JK> Sent: Friday, April 22, 2005 1:13 PM
JK> Subject: [xep-support] Centered table not centered and unwanted line break

>> Hi,
>> I am using XEP Version 4.2 build 20050228 and tried to center a table.
>> This seems not to work with a short table (see attached PDF, 2nd box) using
>> the recommended procedure:
>> <fo:table width="100%">
>> <fo:table-column column-width="proportional-column-width(1)"/>
>> <fo:table-column/>
>> <fo:table-column column-width="proportional-column-width(1)"/>
>> Additionally, is there a way to prevent the line break as happened in the
>> third box? The text would fit on one line.
>> Best regards,
>> Jost
>> ----------------------------------------------------------------------------
>> ----
>> Jost Klopfstein
>> Axos Technologies Inc.
>> OnDemand & Transactional Document Solutions, powered by XML
>> IT Consulting

(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service

Received on Wed Apr 27 08:39:09 2005

This archive was generated by hypermail 2.1.8 : Wed Apr 27 2005 - 08:39:09 PDT