This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]