You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Chris Bowditch <bo...@hotmail.com> on 2004/07/01 09:59:44 UTC
Re: Auto-sized block?
Richard Evans wrote:
> I want to have a block of text with a border and background colour which
> is just wide enough for the text.
>
>
>
> I’ve tried fo:block with border and background-color attributes but the
> block always seems to extend across the whole page.
You need to use fo:inline or fo:inline-container for what you want.
Unfortunately these elements have not been implemented properly, i.e. border
and background color do not apply, and fo:inline is functionally the same as
fo:wrapper.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org