- From: Ramin Bozorgzadeh <RaminB@TCICREDIT.COM>
- Date: Thu, 27 Mar 2003 12:39:38 -0500
- To: www-xsl-fo@w3.org
I am trying to get the contents of my table cell to align to the middle.. I
tried using vertical-align middle on the <fo:table-cell> but that didnt seem
to do anything.. here is a snippet of my code:
<fo:table-cell width="{$label-width-after-spacing}{$unit-length}"
height="{$label-height-after-spacing}{$unit-length}"
font-weight="{$font-weight}" padding-left="{$label-padding}{$unit-length}"
vertical-align="middle">
<fo:block font-weight="{$name-font-weight}">
<xsl:value-of select="$first-name"/>
<xsl:text> </xsl:text>
<xsl:value-of select="$last-name"/>
</fo:block>
<fo:block>
<xsl:value-of select="$address1"/>
</fo:block>
<xsl:if test="string-length($address1) > 0">
<fo:block>
<xsl:value-of select="$address2"/>
</fo:block>
</xsl:if>
<fo:block>
<xsl:value-of select="$city"/>,
<xsl:value-of select="$state"/>,
<xsl:value-of select="$zip"/>
</fo:block>
<fo:block>
<xsl:if test="string-length($country) > 0">
<fo:block>
<xsl:value-of select="$country"/>
</fo:block>
</xsl:if>
</fo:block>
</fo:table-cell>
-------------------------------------------------
Ramin Bozorgzadeh
Teledata Communications, Inc
100 Engineers Rd.
Hauppauge, NY 11788
(631) 231-6700 extension 117
www.tcicredit.com
Received on Thursday, 27 March 2003 12:41:06 UTC