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 Asbjørn Thorsen <a....@usit.uio.no> on 2007/02/05 13:52:37 UTC

Problem aligning a text at the bottom of a cell

I use FOP 0.25 and wonder how I can align a text to the bottom of a cell ? Check out the source-code under where I'
d like the email address to be at the bottom of the cell:

snip
.
.
<fo:table table-layout="fixed" space-before="4mm">
         <fo:table-column column-number="1" column-width="90mm"/>
         <fo:table-column column-number="2" column-width="5.9mm"/>
         <fo:table-column column-number="3" column-width="31mm"/>
         <fo:table-column column-number="4" column-width=" 5.9mm"/>
         <fo:table-column column-number="5" column-width="31mm"/>
         <fo:table-body>
           <!--  Row1 -->
           <fo:table-row>
         <fo:table-cell height="47.4mm" column-number="1" border="solid 1px" number-rows-spanned="4">
           <fo:block >
             <xsl:value-of select="formular/mottakerinfo/navn"/>
           </fo:block>
           <fo:block >
             <xsl:value-of select="formular/mottakerinfo/adresselinje1"/>
           </fo:block>
           <fo:block >
             <xsl:value-of select="formular/mottakerinfo/adresselinje2"/>
           </fo:block>
           <fo:block >
             <xsl:value-of select="formular/mottakerinfo/adressested"/>
           </fo:block>
           <fo:block >
             <xsl:value-of select="formular/mottakerinfo/adresseland"/>
           </fo:block>
           <fo:block display-align="bottom">
             <xsl:value-of select="formular/mottakerinfo/epostadresse"/>
           </fo:block>

         </fo:table-cell>
.
.
snip



Asbjørn

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org