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

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 UTC