Try ... <fo:table-cell padding="2pt" vertical-align="bottom">

-----Original Message-----
From: Darrel Riekhof [mailto:[EMAIL PROTECTED]
Sent: Monday, June 10, 2002 3:26 PM
To: [EMAIL PROTECTED]
Subject: Fonts don't line up in table


I'm having trouble getting different sized fonts to line up in a table.
Below is my xsl code.  The smaller font is too high compared to the larger
font.  How do I get these different sized fonts to line up by their base?

    <fo:table>
      <fo:table-column column-width="100pt"/>
      <fo:table-column column-width="435pt"/>
      <fo:table-body font-size="20pt">
        <fo:table-row>
          <fo:table-cell padding="2pt">
            <fo:block font-size="16pt" margin-bottom="0mm">Side
Mark</fo:block>
          </fo:table-cell>

          <fo:table-cell padding="2pt">
            <fo:block font-weight="bold">
              <xsl:value-of select="freightItemVO/sidemark"/>
            </fo:block>
          </fo:table-cell>

        </fo:table-row>
      </fo:table-body>
    </fo:table>

Darrel
[EMAIL PROTECTED]

Reply via email to