This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: How to do floating images
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: How to do floating images
- From: "M.-A. DARCHE" <ma dot darche at free dot fr>
- Date: Fri, 10 Aug 2001 22:21:14 +0200
- References: <E15VH7j-0000HW-00@p030.digi00.viclink.com>
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