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 amirali786 <am...@yahoo.com> on 2007/02/08 02:45:55 UTC
Alignment/indenting issues with list-block inside list-item-body
Hello, does anybody know why my nested list-block won't align with other
blocks in the parent list-item-body? Instead it just aligns to the page's
left margin like it's ancestral list-block. I know I'm not using the
body-start() or label-end() functions for indentation, but I still think I
did it right and want to know why I'm not getting the desired result doing
it this way. Here is the fo output (nested list-block italicized):
<fo:list-block space-before="1em">
<fo:list-item relative-align="baseline">
<fo:list-item-label>
<fo:block font-weight="bold">Note:</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="2.75em">
<fo:block text-align="left" space-before="1em">The following list
aligns with the 'N' in "Note" (I want it to align with the 'T' in "The")
...</fo:block>
<fo:list-block>
<fo:list-item relative-align="baseline" space-before="0.5em">
<fo:list-item-label
start-indent="0.5em"><fo:block>•</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="1.5em">
<fo:block><fo:block text-align="left" space-before="0.5em">Item
1</fo:block></fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item relative-align="baseline" space-before="0.5em">
<fo:list-item-label
start-indent="0.5em"><fo:block>•</fo:block></fo:list-item-label>
<fo:list-item-body start-indent="1.5em">
<fo:block><fo:block text-align="left" space-before="0.5em">Item
2</fo:block></fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
--
View this message in context: http://www.nabble.com/Alignment-indenting-issues-with-list-block-inside-list-item-body-tf3190903.html#a8858174
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org