|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL-FO: Space before and after inline areas
Hi,
> Please excuse if this post will receive 2 times, i has some
> trouble with sending.
>
> If i put a inline area in a block area, there are spaces
> before and after the inline area, i don't expect.
>
> <fo:block background-color="green">
> <fo:external-graphic content-width="10mm"
> src="file:../images/RedGif.jpg"/>
> </fo:block>
>
> <fo:block background-color="blue">
> <fo:inline background-color="#ffffff">CONTENT</fo:inline>
> </fo:block>
>
> But in my PDF output
> (http://tpmt.teleprofi.de/Uploads/test.pdf) are spaces before
> and after the inline areas.
> Are there a reason in the code?
Yes. You have SPACE characters in your FO document before and after the inline-level element.
> How can i avoid this spaces?
Remove them.
<fo:block background-color="green"><fo:external-graphic content-width="10mm"
src="file:../images/RedGif.jpg"/></fo:block>
<fo:block background-color="blue"><fo:inline background-color="#ffffff">CONTENT</fo:inline></fo:block>
Cheers,
Jarno - The Cure: Apart
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








