W3C home > Mailing lists > Public > www-xsl-fo@w3.org > March 2002

Re: Centering text in a table cell with number-rows-spanned

From: Cyril Rognon <crognon@objectiva.fr>
Date: Thu, 07 Mar 2002 18:35:49 +0100
Message-Id: <5.1.0.14.2.20020307182920.02d77148@pop.pro.proxad.net>
To: David Tolpin <dvd@renderx.com>
Cc: www-xsl-fo@w3.org
David,

you should have more faith in this software.

I am using FOP and this works since 0.20.1 (latest is 0.20.3)

the following centers what I need to be centered...

<fo:table-cell number-rows-spanned="3" display-align="center">
   <fo:block  text-align="center">
     some text
   </fo:block>
</fo:table-cell>

;-)

Cyril


At 20:40 07/03/2002 +0400, you wrote:
> >
> > FOP-  it turns out that "display-align" is the proper way of doing
> > things (ie: centering the block inside the table-cell).  I think I was
> > stuck in HTML mode thinking.  I'll post a reply to the mailing list to
> > let people know the answer.
> >
>
>That's because list does not have reply-to: set to the list.
>display-align is the right way to do the thing but FOP probably
>does not support the attribute.
>
>David Tolpin
Received on Thursday, 7 March 2002 12:33:26 GMT

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