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

Re: Two tables side by side

From: Ricardo Borillo Domenech <borillo@si.uji.es>
Date: 20 Mar 2003 08:56:15 +0100
To: "[FO] Lista del W3C" <www-xsl-fo@w3.org>
Message-Id: <1048146976.22772.5.camel@aris.si.uji.es>

Why not a table with two cells ?

<fo:table border-style="none" border-width="0pt" padding="0cm">
  <fo:table-column column-width="3.5cm"/>
  <fo:table-column column-width="3.5cm"/>

  <fo:table-body>
    <fo:table-row>
      <fo:table-cell border-style="none">
       ...
      </fo:table-cell>
      <fo:table-cell border-style="none">
       ...
      </fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>     


-- 
============================
Ricardo Borillo Domenech
Programació - Servei d'Informàtica
Universitat Jaume I


El mié, 19-03-2003 a las 22:11, G. Ken Holman escribió:
> 
> 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 Thursday, 20 March 2003 03:09:13 GMT

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