Andreas L Delmelle wrote:
On Feb 28, 2007, at 13:45, Abel Braaksma wrote:
<fo:table-cell vertical-align="middle" >...</fo:table-cell>

The vertical-align shorthand does not apply to a fo:table-cell, and since it is non-inherited, specifying it there does not have any effect (unless a value of "inherit" or "from-nearest-specified()" is used on the descendants).

Thanks for your quick reply, Andreas.

From
http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#vertical-align it says: "Applies to: inline-level and 'table-cell' elements", which I interpreted as that it applies to fo:table-cell as well. Do I misinterpret the spec?

If I judge correctly, the property you're actually looking for is display-align :

<fo:table-cell display-align="center">

This worked, though the content needed an extra pt down for adjustment (but it was hard to tell if this was visually not in the middle, or physically not in the middle).

Cheers
-- Abel Braaksma

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

Reply via email to