W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2005

Re: howto align text next to an fo:external-graphic

From: Roland Neilands <rneilands@pulsemining.com.au>
Date: Fri, 18 Nov 2005 15:19:23 +1100
Message-ID: <437D564B.2090506@pulsemining.com.au>
To: adamhmitchell@gmail.com
CC: www-xsl-fo@w3.org

Adam,

You could try putting them in the same block or use a table.

Cheers,
Roland

Adam Mitchell wrote:

> I want a block of text to appear to the right of an 
> fo:external-graphic, instead of below it on the next line.  Could 
> someone nudge me in the right direction by telling me which formatting 
> option I need to apply?
>  
> <fo:block background-color="blue" color="white">
>      <fo:block><fo:external-graphic height="1cm" 
> src="url(../chick/chicksand.png)"/></fo:block>
>  <!-- want this to the right of the image, not below ->    *<fo:block 
> font-size="14pt">Free</fo:block>*
>      <fo:block font-size="12pt">Chicken Sandwich</fo:block>
>      <fo:block font-size="9pt">with purchase of large side item and 
> large Coca-Cola&#174; beverage.</fo:block>
> </fo:block>
>  
>  
>  
Received on Friday, 18 November 2005 04:24:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT