RE: centering text irrespective of page size

7.29.22 "vertical-align"

CSS2 Definition:
Value: 	baseline | middle | sub | super | text-top | text-bottom |
<percentage> | <length> | top | bottom | inherit
Initial: 	baseline
Applies to: 	inline-level and 'table-cell' elements



"vertical-align" is not applicable to fo:block !!!

> -----Original Message-----
> From: www-xsl-fo-request@w3.org 
> [mailto:www-xsl-fo-request@w3.org] On Behalf Of 
> karthikeyan.balasubramanian
> Sent: Thursday, October 23, 2003 4:36 PM
> To: www-xsl-fo@w3.org
> Subject: 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 10:00:02 UTC