XSL-FO does not necessarily work the same way as CSS. See: http://www.w3.org/TR/xsl11/#line-stacking-strategy http://www.w3.org/TR/xsl11/#area-geo
What you'd need may be line-stacking-strategy="line-height", but that has not been implemented, yet: http://xmlgraphics.apache.org/fop/compliance.html#fo-property-line-stacking-strategy I don't have all the details present about line-building anymore. Maybe I've missed something myself. You may be able to adjust for the borders using a larger line-height value than 1.2. On 26.07.2010 08:15:06 Florian Apolloner wrote: > Hi, > > I have something like: > <fo:block> > <fo:inline padding="3cm" background-color="grey">TEST</fo:inline> > </fo:block> > > If I now draw a border around each of them I see that the inline > overflows the block and the blocks height is still one lineheight. I > thought that the inline would increase of size of the block (like with > html/css where a list or whatever in a div would make the div higher). > Do I miss something? > > Thanks in advance, > Florian > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
