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 Ko...@alcatel.be on 2001/08/06 12:24:24 UTC
tables with margins and borders
Hello,
I'm having some issues with the rendering of table borders. When I ask to render a border around the table cell's and the table has a left margin of for example 2cm, than the text is shifted correctly 2 cm to the rigth but the borders appear disaligned
with the text, ie 2cm to much to the left (I tend to conclude that the margins are not taken into account when rendering the cell borders). It looks like a 'bug' to me, as the same file is rendered correctly in the trial versions of the commericial tools
availlable?
kind regards,
Koen.
--
<fo:table-cell
border-width="0.1pt"
border-style="solid" >
<fo:block
text-align="center"
space-before.optimum="3pt"
space-after.optimum="3pt">
<xsl:apply-templates/>
</fo:block>
</fo:table-cell>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: tables with margins and borders
Posted by Ralph LaChance <Ra...@compuserve.com>.
Koen,
Please indicate which version of FOP you are using
and which renderer (-awt, -pdf, -print etc) displays
this behavior.
' Best,
-Ralph LaChance
At 11:24 AM 8/6/01 +0100, you wrote:
>I'm having some issues with the rendering of table borders. When I ask to
>render a border around the table cell's and the table has a left margin of
>for example 2cm, than the text is shifted correctly 2 cm to the rigth but
>the borders appear disaligned
>with the text, ie 2cm to much to the left (I tend to conclude that the
>margins are not taken into account when rendering the cell borders). It
>looks like a 'bug' to me, as the same file is rendered correctly in the
>trial versions of the commericial tools
>availlable?
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org