[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

Subject: RE: XSL-FO: Space before and after inline areas
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 11 Feb 2004 13:35:27 +0200
fo inline space
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.