Re: [xep-support] Center a table on a page

From: Susan Korgen (skorgen@intersystems.com)
Date: Wed Jan 28 2004 - 11:24:28 PST

  • Next message: Randolph Kahle: "[xep-support] Using font on Mac OS X"

    Did anyone try this? I cannot get it to work.

    At 11:29 AM 9/30/2003 +0400, Alexander Peshkov wrote:
    >Hello Detlef,
    >
    >You can center your table by wrapping it in another table like this:
    >
    ><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)"/>
    > <fo:table-body>
    > <fo:table-row>
    > <fo:table-cell/>
    > <fo:table-cell>
    >
    > <!-- place table which has to be centered here -->
    > <fo:table border="thin solid black">
    > <fo:table-body text-align="center">
    > <fo:table-row><fo:table-cell><fo:block>Nested table is
    > here</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>
    >
    >Hope this helps.
    >
    >Best regards,
    >Alexander Peshkov mailto:peshkov@renderx.com
    >RenderX
    >
    >OD> Hi,
    >
    >OD> I want to center a table on a page.
    >
    >OD> <fo:block text-align="center">
    >OD> <fo:table table-layout="fixed">
    >OD> <xsl:apply-templates/>
    >OD> </fo:table>
    >OD> </fo:block>
    >
    >OD> or
    >
    >OD> <fo:table table-layout="fixed" text-align="center">
    >OD> <xsl:apply-templates/>
    >OD> </fo:table>
    >
    >OD> But it works not. What is wrong?
    >
    >OD> Thanks in advanced,
    >
    >OD> Detlef Obenaus
    >OD> Technical Writer
    >
    >OD> SchlumbergerSema Management GmbH
    >OD> Otto-Hahn-Straße 36
    >OD> 63303 Dreieich
    >
    >OD> Tel.: +49 (0) 69 23 83-33 90
    >
    >OD> EMail: DObenaus@frankfurt.sema.slb.com
    >
    >
    >OD> -------------------
    >OD> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    >OD> in the body of the message to majordomo@renderx.com from the address
    >OD> you are subscribed from.
    >OD> (*) By using the Service, you expressly agree to these Terms of
    >Service http://www.renderx.com/tos.html
    >
    >
    >-------------------
    >(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    >in the body of the message to majordomo@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/tos.html

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@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/tos.html



    This archive was generated by hypermail 2.1.5 : Wed Jan 28 2004 - 11:32:51 PST