How to Center a text in a table cell?

2002-06-28 Thread Stefano Barella
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




  




Re: How to Center a text in a table cell?

2002-06-28 Thread Ralf Steppacher
 I don't know how I
can center a text verticaly in a cell table.
fo:table-cell display-align=center text-align=center
fo:blockCentered/fo:block
/fo:table-cell
HTH
Ralf


RE: How to Center a text in a table cell?

2002-06-28 Thread Torsten Erler
try:

fo:table-cell display-align=center

Greeting Torsten

 -Original Message-
 From: Stefano Barella [mailto:[EMAIL PROTECTED]
 Sent: Freitag, 28. Juni 2002 10:29
 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
 
 
 
 
   
 
 


RE: How to Center a text in a table cell?

2002-06-28 Thread Max Dcosta
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