我想让第二个单元格中的文本底部对齐。 由于宽度不足,第一个单元格延伸到2行,这没问题。 但是第二个单元格中的文本只有一行,并且显示在单元格顶部。 如何将其底部对齐?
我尝试了在行、单元格和块级别上使用垂直对齐="bottom"、文本对齐="bottom"、文本对齐="end"等方法,但其中任何一个都没有起作用?!?
<fo:table font="normal 10 pt Arial, sans-serif" width="100%">
<fo:table-column column-width="40mm"/>
<fo:table-column column-width="130mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding-before="3pt" padding-after="3pt">
<fo:block font-weight="bold">Pricing Rate in % p.a. / "Pensionssatz in % p.a.":</fo:block>
</fo:table-cell>
<fo:table-cell padding-before="3pt" padding-after="3pt">
<fo:block>
**This text I want to be aligned to bottom (in the second line)**
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table-cell display-align="center">
- Lakshan Thilakarathne