Subject: Re: [xsl] FO: block, padding and border From: "Vasu Chakkera" <vasucv@xxxxxxxxx> Date: Tue, 18 Nov 2008 16:21:31 +0000 |
did u give the padding to the inline text in the Block or the <fo:block>?? you should do : <fo:block> <fo:inline padding = "2pt"> text </fo:inline> </fo:block> 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. Oxford www.vasucv.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] FO: block, padding and border, Florent Georges | Thread | Re: [xsl] FO: block, padding and bo, G. Ken Holman |
Re: [xsl] Catalog file to use local, Dave Pawson | Date | [xsl] Working example xml+xsl to .f, ge |
Month |