xsl-list
[Top] [All Lists]

[xsl] FO: block, padding and border

2008-11-18 10:58:24
  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/

























      


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>