xsl-list
[Top] [All Lists]

Re: the fo:block thing

2003-01-14 07:08:58
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">?

Regards,


Tony Graham
------------------------------------------------------------------------
XML Technology Center - Dublin
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708

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



<Prev in Thread] Current Thread [Next in Thread>