Re: [XSL-FO] Alignment in XSLFO
- At 2007-01-31 16:48 +0000, mina_hurray wrote:
>I have graphic and a box below that. There is a gap between the box andYou don't show your XSL-FO which would help a lot if you did so.
>the graphic. How do I fill that up? i tried using padding but it did
>not work. Please let me know.
Remember that a graphic is an inline object, and hence it sits on the
dominant baseline of your line. I warn my XSL-FO students that this
will give the effect of a "superscripted" image, or in your case, a
gap between the image and the line below.
If you use alignment-baseline="after-edge" on your graphic, that will
drop the graphic from the dominant baseline to the after edge of the line.
I hope this helps.
. . . . . . . . . . Ken
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds: publicly-available developer resources and training
G. Ken Holman mailto:gkholman@...
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
- --- In XSL-FO@yahoogroups.com, "mina_hurray" <mina_hurray@...> wrote:
> Hi all:
> I have graphic and a box below that. There is a gap between the box
> the graphic. How do I fill that up? i tried using padding but it didHi Meena
> not work. Please let me know.
> Thank you.
Please try using the different options of " alignment-baseline "
attribute on your graphic , I think it should work for you .