You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Zhou, Wufeng" <wz...@nsf.gov> on 2001/03/15 22:37:22 UTC

How to vertical align text in a table cell to bottom?

Hi, all

In my table rows, some columns could have text wrapping to multiple lines,
so I want other columns to align to bottom.  The code I was using does not
work.
Can anyone help?

Thank you.

Wufeng

          <fo:table-row space-after="0.1in">
            <fo:table-cell>
<!-- this cell align to top is ok -->
              <fo:block>C</fo:block>
            </fo:table-cell>
            <fo:table-cell>
<!-- this cell has wrapping text, so rendered with moer than one line -->
              <fo:block>Project Description              <fo:inline
                  font-size="6pt">(plus Results from Prior NSF Support)
                  (not to exceed 15 pages)               </fo:inline>
                <fo:inline font-size="6pt" font-weight="bold">(Exceed
                  only if allowed by a specific                 program
                  announcement/solicitation or if approval in advance by
                  the appropriate NSF                 Assistant Director
                  or designee)              </fo:inline>
              </fo:block>
            </fo:table-cell>
            <fo:table-cell border-bottom-style="solid"
              border-bottom-width="1pt" vertical-align="bottom">
<!-- I want this cell to align to bottom, so that text is at the same level
as the last line of previous cell -->
              <fo:block border-bottom-color="blue"
border-bottom-style="solid"
                border-bottom-width="1pt" text-align="center"
vertical-align="bottom">12</fo:block>
            </fo:table-cell>
          </fo:table-row>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org