xsl-list
[Top] [All Lists]

Re: xsl fo:block rendering issue

2003-06-12 03:15:50
Mark Ivs wrote:
I have 2 fo:block elements inside my table cell and I
want those to render one after the other.

Example:
<fo:table-cell>
<fo:block>aaa</fo:block><fo:block>bbb</fo:block>
</fo:table-cell>

Desired output:
aaabbb

But the output I am seeing:
aaa
bbb

That's by design. fo:block is *block* level element and blocks are stacked in block-progression-direction, which is top-to-bottom for Westerns. Use fo:inline or another inline object to get stacking in the inline-progression-direction.
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>