FOP is so far working wonderfully for our organization. Thank you to all those working on this project!

We are, however, not sure how to vertically center text within a block (or a table cell). The spec defines a property "vertical-align" which seems to control this, but using the property doesn't seem to work with FOP.

Aftering reading the FOP FAQ, I used "display-align" property on a table-cell, but it didn't work. However, I discovered that I *must* define the height of the table-cell by setting the "height" on the table-row (setting the height of the table or the table-cell results in vertical centering having no effect).

Is this a spec issue or a FOP issue? Also, the text turns out to be a little off center, which I am assuming is due to some default value of the line height or some other specific detail about the XSL-FO spec. Am I right, or is this a known FOP bug?

Thanks, and if both these questions are answered by current issues in Bugzilla, feel free to flame/ignore me.

Ben


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



Reply via email to