Ah, perfect. That was what I was wanting. Many thanks.
Peter
On 05/09/13 18:39, Bob Stayton wrote:
> Well, if you are going to float it, it should not be an
> inlinemediaobject, which is intended to appear inline. You could
> instead use this in your source file:
> <informalfigure floatstyle="right">
> <mediaobject>
> <imageobject>
> <imagedata ...>
> <imageobject>
> <mediaobject>
> </informalfigure>
> <para>Some Text</para>
> The informalfigure wrapper lets you add a floatstyle attribute,
> without adding a title.
> Bob Stayton
> Sagehill Enterprises
>
bobs@sagehill.net <mailto:
bobs@sagehill.net>
>
> *From:* Peter Fleck <mailto:
peterfleck@gmail.com>
> *Sent:* Thursday, September 05, 2013 8:56 AM
> *To:* Stefan Knorr <mailto:
sknorr@suse.de>
> *Cc:*
docbook-apps@lists.oasis-open.org> <mailto:
docbook-apps@lists.oasis-open.org>
> *Subject:* Re: [docbook-apps] html5 align image right
>
> Thanks Stefan - that worked when I changed the html manually.
>
> How do I get the stylesheet to create it with float rather than
> "text-align" without me having to manually change the html?
>
> Peter
>
>
> On 05/09/13 16:04, Stefan Knorr wrote:
>> Hi Peter,
>>
>> On Do, 2013-09-05 at 13:15 +0200, Peter Fleck wrote:
>>>
>>> src="http://....jpg" width="200"/>Some Text
>>>
>>> However the image is not being aligned to the right. Am I doing
>>> something wrong?
>> Well, it's called "text-align" for a reason. :)
>> You may want to try with "float: right;", but that has its own quirks,
>> of course. Seehttps://developer.mozilla.org/en-US/docs/Web/CSS/float
>>
>> Stefan.
>>
>
>