You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Costantino Sertorio <co...@ams.com> on 2002/03/13 13:59:42 UTC

Table-cell vertical-align problem

Hi,
How do I vertically align the "2nd column" text to the last line of the
text contained in the first column?

Input:
             <fo:table table-layout="fixed">
               <fo:table-column column-width="115mm"/>
               <fo:table-column column-width="55mm"/>
               <fo:table-body>
               <fo:table-row>
                 <fo:table-cell>
                   <fo:block>TEST TEST TEST TEST TEST TEST TEST TEST TEST
TEST TEST TEST TEST TEST TEST TEST  TEST      TEST           TEST
TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST
TEST TEST  TEST  TEST  TEST   TEST  TEST      TEST TEST TEST TEST TEST TEST
TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST       TEST           </
fo:block>
                 </fo:table-cell>
                 <fo:table-cell vertical-align="bottom">
                   <fo:block>2nd column</fo:block>
                 </fo:table-cell>
               </fo:table-row>
             </fo:table-body>
             </fo:table>
Output (WRONG):
(Embedded image moved to file: pic04973.pcx)