Re: [docbook-apps] Image alignment in FO output

From
Elliotte Harold <>
Date
2006-04-20T17:44:17+00:00
ID
Thread
Re: [docbook-apps] Image alignment in FO output
David Tolpin wrote:

>> With the FO stylesheets this seems to be getting turned into something 
>> like this:
>>
>> <fo:block id="d4e14589" text-align="left">
> 
>>
>> The alignment gets lost.
> 
> Hi Eliotte,
> 
> It does not.

I think the problem is that a block around an image with 
text-align="left" isn't quite the same thing as an align="left" in an 
HTML img. What we're getting is equivalent to

<div style="text-align: left"><img/></div>
<p>...</p>

However what I need is something equivalent to

<img align="left"/>
<p>...</p>


-- 
Elliotte Rusty Harold  
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim