try reference-orientation feature for rotating the text vertically and then
use the align attribute....

does that help

-----Original Message-----
From: Stefano Barella [mailto:[EMAIL PROTECTED]
Sent: Friday, June 28, 2002 1:59 PM
To: [EMAIL PROTECTED]
Subject: How to Center a text in a table cell?


Hi, I'm Stefano and I have a problem
with xsl-fo tables. I don't know how I
can center a text verticaly in a cell table.
I know how to center the text horizontally
But I'd like to do both.
Can anybody help me ?

My Example below :

<fo:table-row height="0.5cm">
    <fo:table-cell number-rows-spanned="3" border-width="0.01mm"
border-style="solid">
           <fo:block text-align="center">
                         <xsl:value-of select="[EMAIL PROTECTED]'0']" />
           </fo:block>
     </fo:table-cell>
</fo:table-row>

Bye , thanks
  Stefano Barella




  

Reply via email to