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

RE: centering text irrespective of page size

From: Victor Vishnyakov <tch_@mail.ru>
Date: Mon, 27 Oct 2003 10:57:26 +0200
To: "'karthikeyan.balasubramanian'" <karthikeyan.balasubramanian@aspiresys.com>, <www-xsl-fo@w3.org>
Message-ID: <000601c39c68$5d3608e0$2500a8c0@ISLC.local>

Hi,

fo:table or fo:block-container( absolute coordinates ) is the solution

Regards,
Victor Vishnyakov


> -----Original Message-----
> From: karthikeyan.balasubramanian 
> [mailto:karthikeyan.balasubramanian@aspiresys.com] 
> Sent: Sunday, October 26, 2003 10:41 AM
> To: Victor Vishnyakov
> Subject: Re: centering text irrespective of page size
> 
> 
> Hi,
> 
> > "vertical-align" is not applicable to fo:block !!!
> 
> What could be the alternative here?
> 
> Karthikeyan B
> 
> 
> ----- Original Message -----
> From: "Victor Vishnyakov" <tch_@mail.ru>
> To: "'karthikeyan.balasubramanian'" 
> <karthikeyan.balasubramanian@aspiresys.com>; <www-xsl-fo@w3.org>
> Sent: Thursday, October 23, 2003 7:30 PM
> Subject: 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 Monday, 27 October 2003 03:55:47 GMT

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