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

Centering text in a table cell with number-rows-spanned

From: Matthew Mastracci <matt@aclaro.com>
Date: Wed, 6 Mar 2002 16:57:45 -0500 (EST)
Message-ID: <3C8690BD.8060308@aclaro.com>
To: www-xsl-fo@w3.org
Is it possible to get the block within a table cell to automatically 
consume 100% of the available space for its line-height?

I'd like to do this:

<fo:table-cell vertical-align="middle" text-align="center" 

and have the block consume the entire table cell, making the label 
"test" centered within the available space.  Right now, the block is 
only as big as the line size for the font, jamming the label at the top 
of the column.

What I have:


What I want:



Any ideas?
Received on Thursday, 7 March 2002 11:06:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:54 UTC