Ok, I've stripped my example down even further. I've eliminated all
"padding" attributes. I have background-color enabled on a single cell.
I also am now using borders only on table-cell elements. I turned off
the outside border on the table in case it was a problem.
In the new example attached here, the background color is clearly
bleeding all over the place (especially since I set it only for a single
cell). I can see no attributes left in my XSL-FO to explain it. If I
move background-color to the fo:block, the pattern is the same. My
understanding of the XSL-FO spec was that padding pushed out beyond the
borders and that was why you suggested eliminating padding.
Is there any hope of using background color (or a workaround that
achieves the same effect) in 0.20.5? Your response seems to indicate
that I should not be seeing this behavior.
-----Original Message-----
From: J.Pietschmann [mailto:j332...@yahoo.de]
Sent: Wednesday, July 28, 2004 5:11 PM
To: fop-...@xml.apache.org
Subject: Re: Border issue
Zaleski, Matthew (M.E.) wrote:
Thanks for the answer. What is the proper workaround for not using
padding? I need to keep space between my blocks and the borders of
the cells. Some of the cells have single blocks, some have multiple
blocks (like the header row).
Enclose the content in yet another block, and try to use
space-before/space-start/whatever on this block. Padding might work in
this case.