[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: FO: block, padding and border

Subject: Re: FO: block, padding and border
From: "Vasu Chakkera" <vasucv@xxxxxxxxx>
Date: Tue, 18 Nov 2008 16:21:31 +0000
Re:  FO: block
did u give the padding to the inline text in the Block or the <fo:block>??

you should do :
  <fo:inline padding = "2pt"> text </fo:inline>

if you give padding to the block , then the block will move..

On Tue, Nov 18, 2008 at 3:58 PM, Florent Georges <lists@xxxxxxxxxxxx> wrote:
>  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/

Vasu Chakkera
Numerical Algorithms Group Ltd.

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.