W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2007

Vertical alignment of leaders and underlins

From: Scottco1986 <Scherman@leaf-financial.com>
Date: Mon, 4 Jun 2007 08:41:57 -0700 (PDT)
Message-ID: <10952336.post@talk.nabble.com>
To: www-xsl-fo@w3.org

I have an fo:block with underlined text generated from a field followed by a
ruled leader, so that the rule fills the rest of the space in the cell after
the underlined text.  My goal is for the rule to appear as a continuation of
the underline.  However, the leader always appears slightly higher than the
underline.  Is there some way to either raise the text or lower the leader
so as to make these two lines align as if they were continuous?  My code is
as follows:
------------------------------------------------------------------------
<fo:block padding-top="8pt" text-align-last="justify">
	<xsl:text>PRINT NAME: </xsl:text>
	<fo:inline text-decoration="underline">
		<xsl:value-of select="UD_NAME_ON_DOCS"/>
	</fo:inline>
	<fo:leader leader-pattern="rule" rule-thickness="0.5pt" rule-style="solid"
color="black"/>
</fo:block>
------------------------------------------------------------------------
I've tried various properties for both the fo:inline and fo:leader,
including vertical-align, align-adjust, etc., but I can't get them to work
properly.  Any help would be greatly appreciated.  Thanks!
-- 
View this message in context: http://www.nabble.com/Vertical-alignment-of-leaders-and-underlins-tf3866029.html#a10952336
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Monday, 4 June 2007 16:00:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:14 GMT