[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: the fo:block thing

Subject: Re: the fo:block thing
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Jan 2003 09:43:32 -0500
force table cell height
At 2003-01-14 14:08 +0000, Tony Graham wrote:
G. Ken Holman wrote at 13 Jan 2003 07:50:35 -0500:
> At 2003-01-13 12:52 +0200, Matts Isuls wrote:
...
> >I have this cell in a table. ... The thing is that is always have to use
> >two lines. How do i do this?
...
> I ended up using a block container within the table-cell. This required me
> to set the block container to a multiple of the number of lines, but
> remember that the default line-height is implementation dependent, so I had
> to then explicitly set the line-height so that my multiplier worked.
>
> In the example below I have font-size="10pt" line-height="1.1" which means
> that two lines will take up 22pt, so each cell has <block-container
> height="22pt"> to force a two-line height.


What's wrong with <fo:table-row height="22pt">?

Matts said he always wanted two lines ... if I only use the height of the row as above, isn't that elastic and won't it grow if there are more than two lines of data? I thought I needed the block container to ensure every cell would always have two lines.


Please let me know if I'm mistaken about the behaviour of table-row height=.

Thanks, Tony!

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


-- Upcoming hands-on in-depth North America: February 3- 7, 2003 XSLT/XPath and/or XSL-FO Europe: February 17-21, 2003

G. Ken Holman                mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/s/
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/s/bc


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.