[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: FO: block, padding and border
At 2008-11-18 18:16 +0100, Florent Georges wrote:
"G. Ken Holman" wrote: Sorry, I misinterpreted your original post that you were putting these un-bordered blocks inside of bordered table cells because of your citation of tables. When you are just using blocks outside of cells, the block with the border has a block inside with the content: <fo:block border="solid 0.5pt"> <fo:block space-before="5pt" start-indent="5pt" space-after="5pt" end-indent="5pt"> bla... bla... Thanks to Vasu, I found the following that solves my problem: Fine ... but I insist padding is not the "clean way" to do it. And if you get in the habit of using it you'll have issues with background. And Vasu's use of padding-left= does not make for a portable stylesheet in case the writing direction should change. And Vasu is attributing an inline area instead of a block area and I think it more appropriate to attribute the block area. I use FOP 0.95, not sure this has something to do... I don't have that installed, but my code fragment above works with the processors I'm using. . . . . . . . . . . . Ken -- 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|