|
Q. |
I want to specify fo:block margin-top, but I don't want to set the top margin of a box right after breaking pages.
How can I do this?
[No.2002030804]
|
| A. |
<fo:block margin-top="10pt" xsl:use-attribute-sets="MIDASHI">
margin-top is equivalent to space-before in the W3C Recommendation for XSL-FO, but only the difference is that
margin-top is considered to be space-before.conditionality="retain", and as the result, top margin is set right after braking pages.
In order to avoid this, use space-before instead of margin-top.
<fo:block space-before="10pt" xsl:use-attribute-sets="MIDASHI">
|