[xep-support] vertical-align
Gustaf Liljegren
gustaf.liljegren at xml.se
Wed Apr 24 03:38:26 PDT 2002
I think I've seen this question here before (perhaps I asked myself!), but
I don't remember the solution now. I can't get vertical-align to work in
table-cells. Here's my test:
<?xml version="1.0"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="test">
<fo:region-body margin="20mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="test">
<fo:flow flow-name="xsl-region-body">
<fo:table border="thin solid black">
<fo:table-body>
<fo:table-row height="20mm">
<fo:table-cell border="thin solid black" vertical-align="top">
<fo:block>Jambo!</fo:block>
</fo:table-cell>
<fo:table-cell border="thin solid black" vertical-align="middle">
<fo:block>Jambo!</fo:block>
</fo:table-cell>
<fo:table-cell border="thin solid black" vertical-align="bottom">
<fo:block>Jambo!</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>
I tried to put it on fo:table-row and fo:block aswell, but it won't work.
Gustaf
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support
mailing list