I don't actually use borders around what I draw in the block tag.
I sort of cheat.  I use absolute positioning for everything.  Since I
already know exactly where every block-container is going, I draw lines
around block objects using a different block within a different
block-container.  For a box around it I can use the border attribute,
and since the text/image I'm drawing inside is in it's own block I can
adjust the absolute positioning of it's block-container to start inside
the border of the block-container with the border attribute.  For
drawing lines around or between I can use a block-container with a
height/width of the border line and fill in with
background-color="black".  That may be a bit too complicated for how
most people use it.

Have you tried eliminating your block-container block combination by
putting the border only on block-containers or only on blocks?  You can
nest both. <fo:block-container><fo:block-container><fo:block> or
<fo:block-container><fo:block><fo:block>

-----Original Message-----
From: Ognjen Blagojevic [mailto:[email protected]] 
Sent: Monday, August 30, 2010 9:28 AM
To: [email protected]
Subject: Re: Unwanted padding when nesting block inside block-container

On 30.8.2010 14:15, Eric Douglas wrote:
> I don't know if it would help but I split that up.  I use padding-top,

> padding-bottom, padding-left, padding-right.

Thanks for the tip, but I still have the same problem. Tried randomly
attributes I suspected (border-separation, border-spacing, break-before,
break-after, space-before, space-after, space-start, space-end, left,
clear) but nothing seems to help.

That freaky padding is still there.

Another strange thing is that the padding is the same size as border. If
border is 10pt, padding is also 10pt, if border is 0, padding is also 0.

-Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to