Subject: Re: [xsl] FO: block, padding and border From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 18 Nov 2008 11:39:42 -0500 |
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...
-- Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes: : Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03 Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video sample lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg Video course overview: http://www.youtube.com/watch?v=VTiodiij6gE G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] FO: block, padding and bo, Vasu Chakkera | Thread | Re: [xsl] FO: block, padding and bo, Florent Georges |
[xsl] Working example xml+xsl to .f, ge | Date | RE: [xsl] Add namespace to element , Scott Trenda |
Month |