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

At 2002-07-06 17:49 -0400, Brindl Ronald wrote:
>is there any other possibility to place a block vertically centered on a
>page?

The following works for me in Antenna House where the first page sequence 
centres text in a two-inch high box and the second page sequence centres 
the text on the page:

<page-sequence master-reference="frame-pages">

<flow flow-name="frame-body">

<block-container border-style="solid" height="2in" display-align="center">
   <block text-align="center">Centred text</block>
</block-container>

</flow>

</page-sequence>

<page-sequence master-reference="frame-pages">

<flow flow-name="frame-body">

<block-container border-style="solid" height="100%" display-align="center">
   <block text-align="center">Centred text</block>
</block-container>

</flow>

</page-sequence>

Of course the border is optional, but it helps me see what is going on.

I hope this helps.

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


--
Upcoming: 3-days XSLT/XPath and/or 2-days XSL-FO:Sep 30-Oct 4,2002

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 (Fax:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1                Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed),
articles, training (instructor-live,Internet-live,web/CD,licensed)
Next public training:                 2002-08-05,26,27,09-30,10-03

Received on Monday, 8 July 2002 08:44:06 UTC