You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Richard Bondi <rb...@ergito.com> on 2002/07/09 22:02:33 UTC
conditional space-before?
Dear All,
I would like my graphics to have space-before="12pt" ONLY IF they are not
at the top of a page.
A work-around is to do this in XSL: if a paragraph is followed by a
graphic, make its space-after="24pt", otherwise make its
space-after="12pt". (Then if fop puts the graphic at the top of the page,
it won't matter if the preceding para has a bigger space-after.) But I'm
wondering if I can do this in fop instead?
TIA,
r:b: