[xsl] FO: block, padding and border

Subject: [xsl] FO: block, padding and border
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 18 Nov 2008 16:58:01 +0100 (CET)
  Hi,

  I have a form in FO, which is a sequence of blocks and tables,
each with a border.  Within blocks, I use padding="2pt" to
prevent words to touch the border.  But doing so, the border of
the block is moved by 2pt (to the outside of the block.)

  You can see the following screenshot to see the result:
http://www.fgeorges.org/tmp/fo-block-padding.jpg.

  Of course, the borders should be aligned.  How would you do
that?  I can think about workarounds, like using a table with
one cell instead of a block, but I would like to do it the clean
way...

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Current Thread