Re: Space Before Image(was: Table is too heigh)

** Begin original message ** Knut Meinke
>
> Hi,
>
> I could simplify the expamle.
>
> <fo:block background-color="green">
> 	<fo:external-graphic content-width="10mm"
> 		src="file:../images/RedGif.jpg"/><fo:inline>asa</fo:inline>
> </fo:block>
>

The code is working fine for me.

The green area that you talk about is defined in the block statement, and
affects the whole block.  If you change the margins left/right you can see
how that green area shrinks or extends.  Try:

<fo:block background-color="green" margin-right='7.5cm'>
	<fo:external-graphic content-width="10mm"
		src="file:../images/RedGif.jpg"/><fo:inline>asa</fo:inline>
</fo:block>

That reduces the length of the green area.

If you want only certain parts of your code to be "highlighted" by a given
background colour, use fo:inline

Cheers,

Eugene
http://www.eugeneciurana.com
San Francisco, CA  94123 USA

Received on Wednesday, 11 February 2004 09:51:55 UTC