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

centering text irrespective of page size

From: karthikeyan.balasubramanian <karthikeyan.balasubramanian@aspiresys.com>
Date: Thu, 23 Oct 2003 18:27:51 +0530
Message-ID: <064801c39965$46541cd0$2c00a8c0@Aspiresys.com>
To: <www-xsl-fo@w3.org>

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 08:59:37 GMT

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