OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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:
<p><span class="inlinemediaobject"><img style="text-align: right; " 
src="" class="moz-txt-link-rfc2396E" href="http://....jpg">"http://....jpg" width="200"/></span>Some Text</p>

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. See https://developer.mozilla.org/en-US/docs/Web/CSS/float

Stefan.





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]