On Mar 19, 2007, at 10:02, Chris Bowditch wrote:

Hi Daniel / Chris,

<snip/>

<fo:block margin-left="0pt" margin-right="0pt" unicode- bidi="embed"> <fo:block-container absolute-position="absolute" left="16.0%" top="16.0%">
       <fo:block>
<fo:inline margin-left="0pt" margin-right="0pt">1</ fo:inline>
       </fo:block>
     </fo:block-container>

<snip/>

So now the 1, 2 and 3 are all inside the outer box, but all at the top left corner. This could be because the <fo:block> inside the top-level <fo:block-container> doesn't fill the entire block container. It could also be because % simply doesn't work (hopefully that isn't the case though, the former problem is easier to work around.)

The problem could be the use of % in the left and top attributes.

I just confirmed (by replacing the percentages with absolute widths): the percentages are most definitely the problem here. This is a FOP bug. :(

However, you also need the width/height attributes for the block container to be absolutely positioned correctly.

I don't think so. At least, if you take the Recommendation literally, then width and height (actually inline-progression-dimension and block-progression-dimension) both have an initial value of "auto"... It is not necessary to specify them.


Cheers,

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to