W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2010

Alternative to list-item-label wrapping?

From: Rapidbunny <rapidbunny@gmail.com>
Date: Fri, 12 Feb 2010 07:26:38 -0800 (PST)
Message-ID: <27565222.post@talk.nabble.com>
To: www-xsl-fo@w3.org
Hi.

Is it possible to do "line break" in list if label is too long? I know how
to wrap label text but that is not what i need.

Example:

<fo:list-block>
<fo:list-item>
<fo:list-item-label>
<fo:block>This label is faaaaaaaaaaaaaaaaaaaar too long</fo:block>
</fo:list-item-label>
<fo:list-item-body>
<fo:block margin-left="45.72mm" margin-right="22.86mm">Now this text is
overlapping and i dont want to wrap the label, but move this text
down.</fo:block>
</fo:list-item-body> 
</fo:list-item>
</fo:list-block>

So, text would overlap in example. But this is how i want it to be:

Label   Text
Label   Text
Too long Label
          Text
Label   Text

Any help would be appreciated. :)

- Mike
-- 
View this message in context: http://old.nabble.com/Alternative-to-list-item-label-wrapping--tp27565222p27565222.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Friday, 12 February 2010 22:01:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 12 February 2010 22:01:40 GMT