that works perfectly, Pascal, thank you very much!
Rory

----- Original Message ----
From: Pascal Sancho <[EMAIL PROTECTED]>
To: fop-users@xmlgraphics.apache.org
Sent: Tuesday, 17 October, 2006 1:55:38 PM
Subject: RE: can't vertically align table cell content to "middle"

> -----Original Message-----
> From: Rory Wales [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 17, 2006 2:29 PM
>
> Hi there,
>   I'm using FOP 0.92 beta and would like to use the
> vertical-align="middle" attribute (or equivalent) to centre
> all my table content to the middle of each cell. I can do it
> horizontally (<fo:table-row text-align="center"), but not vertically.
>  
>   I've looked on the FOP compliance page and it says that
> "percentages are not supported, yet" but I don't need
> anything like that, I just want to vertically align to the
> "middle". Does anyone know how to do this? Also which of the
> <fo:block>, <fo:table-cell>, <fo:table-row> <fo:table-column>
> elements should it be placed in? I've tried them all and have
> had no luck. I've trawled through the mailing lists and I
> can't seem to find any answers, I have found something about
> using a baseline-shift but I don't understand how to use that.
>  
> If vertical-align isn't supported in 0.92beta, can someone
> suggest a workaround?
>  
> Thanks for any advice or suggestions
> Rory

Rory,
You should use display-align for that.

Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Send instant messages to your online friends http://uk.messenger.yahoo.com

Reply via email to