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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: How to do floating images


On 20010810 11:35 (Friday), Rick Bronson wrote:
>   I've combed the mailing list and haven't found a way to do floating
> images on either print or html.  I'm using Docbook 4.1, dsssl-1.71,
> jadetex version 3.3.1 
>   Anyone figured it out?

Have you tried :
<mediaobject>
<imageobject>
<imagedata fileref="woody" align="right"/>
</imageobject>
</mediaobject>

With docbook-xsl-1.41 it produces the following HTML output
<div class="mediaobject"><img src="woody.png" align="right"></div>
(I can't check the print output right now)


Alternatively you can use the following approach for HTML only

If you have the following image element
<mediaobject>
<imageobject>
<imagedata fileref="woody"/>
</imageobject>
</mediaobject>

You can use a CSS with those line inside :
.mediaobject {
    float: right;
}

Hope it helps,
    
-- 
Marc-Aurčle DARCHE  <http://ma.darche.free.fr>
AFUL <http://www.aful.org>
Association Francophone des Utilisateurs de Linux/Logiciels Libres
French speaking Linux and Free Software Users' Association


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


Powered by eList eXpress LLC