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>


  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"/>

  Have a great day.

Received on Thursday, 23 October 2003 08:59:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:28 UTC