W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2003

Re: centering text irrespective of page size

From: karthikeyan.balasubramanian <karthikeyan.balasubramanian@aspiresys.com>
Date: Thu, 23 Oct 2003 19:06:22 +0530
Message-ID: <06b101c3996a$a7a41f80$2c00a8c0@Aspiresys.com>
To: <www-xsl-fo@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT