W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2003

Re: Two tables side by side

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Wed, 19 Mar 2003 16:11:22 -0500
Message-Id: <5.2.0.9.0.20030319160845.034e4eb0@pop.storm.ca>
To: www-xsl-fo@w3.org

At 2003-03-19 14:03 -0500, bmoss wrote:
>If I have a page width of 7in and I specify two tables, each with a
>width of 3.5in, how do I get them to appear next to each other (side by
>side)?  I put them in a <block> and the second table is still going
>underneath the first table.

Two ways of getting blocks next to each other are to use either tables or 
lists.

Based on your limited description, I would choose lists:

  <list-block
   <list-item
    <list-item-label
     <table
     </
    </
    <list-item-body
     <table
     </
    </
   </
  </

Be careful to set your indents on your label and body not to overlap, as 
overlapping list item component areas is an error condition.

I hope this helps.

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

--
Upcoming hands-on in-depth XSLT/XPath and/or XSL-FO
                              North America:      June 16-20, 2003

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)
ISBN 0-13-065196-6                      Definitive XSLT and XPath
ISBN 0-13-140374-5                              Definitive XSL-FO
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1              Practical Formatting Using XSL-FO
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
Received on Wednesday, 19 March 2003 16:13:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT