Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] Center a Table

Expand Messages
  • G. Ken Holman
    ... Close, but not in ... put the inside of and the table will be centred (works on both Antenna House and
    Message 1 of 3 , May 13, 2004
    • 0 Attachment
      At 2004-05-13 18:16 +0000, hammermaninmd wrote:
      >How can I center a table on a page? I have a basic table that takes
      >up about 1/2 of the page - I can get it to stretch to 100% easy
      >enought. but what I really want is for it to be centered on the
      >page...do I have to wrap it in a <fo:block text-align="center">??

      Close, but not in <block> ... put the <table> inside of <table-caption
      text-align="center"> and the table will be centred (works on both Antenna
      House and RenderX).

      I hope this helps.

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


      --
      Public courses: Spring 2004 world tour of hands-on XSL instruction
      Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004

      World-wide on-site corporate, govt. & user group XML/XSL training.
      G. Ken Holman mailto:gkholman@...
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.