Re: centering text irrespective of page size

Hi,

  I also tried this but its not working :(

<fo:block font-family="Courier" font-size="11pt" vertical-align="middle">

<xsl:value-of select="TITLE"/>

</fo:block>

  Have a great day.

Karthikeyan B
----- Original Message -----
From: "karthikeyan.balasubramanian"
<karthikeyan.balasubramanian@aspiresys.com>
To: <www-xsl-fo@w3.org>
Sent: Thursday, October 23, 2003 6:27 PM
Subject: centering text irrespective of page size


> Hi,
>
>   How do I center a text both horizontally and vertically irespective of
> page size.
>
>   I dont want to use fo:table any other ideas?
>
>   right now i am using this
>
> <fo:block margin-top="200px" margin-right="200px" margin-bottom="200px"
> margin-left="200px" font-family="Courier" font-size="11pt">
>  <xsl:value-of select="TITLE"/>
> </fo:block>
>
>   Have a great day.
>
> Karthikeyan.
>

Received on Thursday, 23 October 2003 09:47:26 UTC