Re: [css2xslfo-support] [css2xslfo] margin-top, margin-bottom not acknowledged
Brought to you by:
wdonne
From: Andreas J. <li...@an...> - 2006-03-11 09:34:31
|
--On 6. M=C3=A4rz 2006 10:38:52 +0100 Werner Donn=C3=A9 = <wer...@re...> wrote: > Hi Andreas, > > I tried it with version 1.0 as well as 1.3 and the margin is there. > Set it to zero to see the difference. It is not part of the content > rectangle however, which is why the background doesn't reach that far. > If that is what you want you should use padding instead of margin. > > This issue seems to depend very much on the converter. Neither with Xinc=20 nor XFC I can see the top/bottom margin. I investigated the generated FO=20 file. The related fo:block has margin-top|bottom set to 0em but uses=20 space-after|before to specify the margin. Replacing=20 space-after|space-before with margin-bottom|top let the margins work. Is=20 there any reason why you use space-after|before vs. border-bottom|top? What is the recommend way to get around this issue? Andreas |