[xep-support] width of a centered table
Stefan Weber
SW0 at gmx.de
Tue Nov 13 07:28:06 PST 2007
Hi,
I am using XEP 4.10 build 20070727.
I have to put a table centered inside another table cell.
This is working so far if the inner table has one column
but it fails if the inner table has two or more columns.
Is there any way to get rid of the unnecessary linebreaks
in the second table?
Thanks
Stefan
Example code:
<fo:table table-layout="fixed">
<fo:table-column column-width="4in"/>
<fo:table-body text-align="center">
<fo:table-row>
<fo:table-cell border="thin solid red">
<fo:table table-layout="fixed">
<fo:table-column column-width="proportional-column-width(0.01)"/>
<fo:table-column/>
<fo:table-column column-width="proportional-column-width(0.01)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell/>
<fo:table-cell>
<fo:table>
<fo:table-body text-align="center">
<fo:table-row>
<fo:table-cell border="thin solid black">
<fo:block>THIS IS A LONG TEXT THIS IS A LONG TEXT</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-cell>
<fo:table-cell/>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table table-layout="fixed">
<fo:table-column column-width="proportional-column-width(0.01)"/>
<fo:table-column/>
<fo:table-column column-width="proportional-column-width(0.01)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell/>
<fo:table-cell>
<fo:table>
<fo:table-body text-align="center">
<fo:table-row>
<fo:table-cell border="thin solid black">
<fo:block>THIS IS A LONG TEXT</fo:block>
</fo:table-cell>
<fo:table-cell border="thin solid black">
<fo:block>THIS IS A LONG TEXT</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-cell>
<fo:table-cell/>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
More information about the Xep-support
mailing list