[xep-support] Aligning tables?

G. Ken Holman gkholman at CraneSoftwrights.com
Thu Jun 24 13:06:32 PDT 2004


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 at 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 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/tos.html



More information about the Xep-support mailing list