Loading ...
Sorry, an error occurred while loading the content.

7276Re: [XSL-FO] Making FO Lists look like HTML Lists

Expand Messages
  • G. Ken Holman
    Nov 3, 2006
    • 0 Attachment
      At 2006-11-03 16:53 -0600, Shawn wrote:
      >If you have text within a list-item-body that has a larger font size than
      >the list item label (and the other text within the list-item) in FO, It
      >aligns the tops of the label and text.

      Yes, the initial value for relative-align= is the before-edge.

      >Does any one have any ideas on how to make the fo look like the html?

      Have you tried relative-align="baseline"?

      >But if I use embedded lists, it doesn't render correctly -- my fo renderer
      >(ibex) says "fo:list-item-label contained in an fo:list-item-body,
      >fo:list-item-label should be child of fo:list-item".

      Correct, the structure of lists is very rigid.

      >Any ideas on a work-around using proper fo?

      I think you'll find this property will help you.

      . . . . . . . . . Ken

      UBL/XSLT/XSL-FO training: Allerød/Vårø Denmark 2006-11-13,17,20/24
      UBL International 2006 2006-11-13/17 http://www.ublconference.com
      World-wide corporate, govt. & user group UBL, XSL, & XML training.
      G. Ken Holman mailto:gkholman@...
      Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
      Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
      Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/f/bc
      Legal business disclaimers: http://www.CraneSoftwrights.com/legal
    • Show all 7 messages in this topic