Re: [xep-support] Aligning tables?

From: G. Ken Holman (gkholman@CraneSoftwrights.com)
Date: Thu Jun 24 2004 - 13:06:32 PDT

  • Next message: Andrzej Jan Taramina: "Re: [xep-support] Aligning tables?"

    At 2004-06-24 13:42 -0400, Andrzej Jan Taramina wrote:
    >Is there any good way to align tables (left/right/center) on a page?

    The specification says you can align a table by using table-and-caption as in:

       <table-and-caption text-align="center">
         <table>
           ...table-to-be-centred...
         </table>
       </table-and-caption>

    You can put a table inside of another table using equal proportional units
    on either side of the table:

       <table width="100%">
         <table-column column-width="proportional-column-width(1)"/>
         <table-column/>
         <table-column column-width="proportional-column-width(1)"/>
         <table-body>
           <table-cell column-number="2">
             <table>
               ...table-to-be-centred...
             </table>
           </table-cell>
         </table-body>
       </table>

    I hope this helps.

    ..................... Ken

    --
    Public training 3 days XSLT & 2 days XSL-FO: Phoenix,AZ 2004-08-23
    World-wide on-site corporate, govt. & user group XML/XSL training.
    G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
    Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
    Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
    Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/f/bc
    Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
    -------------------
    (*) 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 : Thu Jun 24 2004 - 13:20:59 PDT