xsl-list
[Top] [All Lists]

Re: [xsl] FO Table widths - table-layout fixed behaviour and use

2008-07-22 10:57:03
On Tue, Jul 22 2008 18:31:56 +0100, davidc(_at_)nag(_dot_)co(_dot_)uk wrote:
   <fo:table-body>
  <fo:table-row>
    <fo:table-cell width="2.5in">AAA</fo:table-cell>
    <fo:table-cell width="2.5in">BBB</fo:table-cell>
  </fo:table-row>

don't you want 

<fo:table-column column-width="2.5in"/>
<fo:table-column column-width="2.5in"/>

before that table body?

The fixed widths can be taken from the cells in the first row.  XSL FO
behaves like CSS2 [1] in this (though xmlroff currently doesn't support
this).

Regards,


Tony Graham                         
Tony(_dot_)Graham(_at_)MenteithConsulting(_dot_)com
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2


[1] http://www.w3.org/TR/REC-CSS2/tables.html#fixed-table-layout

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--