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: Centering Figure Graphics


FWIW, Norm's suggested fix worked fine for me.

M. Wroth

At 01:10 PM 6/1/01 -0400, Bob McIlvride wrote:
>We are having the same problem with DSSSL version 1.63 as M. Wroth was
>having with version 1.60, but the fix Norm recommended below doesn't
>work.  Is it supposed to work for 1.63, or is there another reason we
>can't center figure graphics in HTML?
>
>Norman Walsh wrote:
> >
> > / "M. Wroth" <mark@astrid.upland.ca.us> was heard to say:
> > | However, I would like the figures to be centered on the page, and 
> they are
> > | showing up left-justified.  What am I doing wrong?
> >
> > Nothing. Stylesheet bug. Fixed in CVS. Try this:
> >
> > (element imagedata
> >   (if (have-ancestor? (normalize "mediaobject"))
> >       ($img$ (current-node) #t)
> >       ($img$ (current-node) #f)))
> >
> > instead of the current definition.
>
>Cheerio!
>
>Bob
>
>---------------------------------------
>Robert McIlvride (robert@cogent.ca)
>Cogent Real-Time Systems (www.cogent.ca)
>
>------------------------------------------------------------------
>To unsubscribe from this elist send a message with the single word
>"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org

Mark B. Wroth
<mark@astrid.upland.ca.us>


------------------------------------------------------------------
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]