Re: XSL:FO: Left ... Center ... Right

Subject: Re: XSL:FO: Left ... Center ... Right
From: Stephen Deach <sdeach@xxxxxxxxx>
Date: Sun, 17 Oct 1999 18:35:27 -0700
At 02:30 1999-10-18 +0400, Nikolai Grigoriev wrote:>
>By the way, in a real stylesheet you can hardly make assumptions
>of how long the text in the header will be. And if you plan to align
>more than five-character words, the following happens to different
>solutions:
>
>- inline-rules and long spaces will generate several lines, breaking
>  every alignment;
>- absolutely positioned inlines will overlap (since absolutely positioned
>  elements have no impact on the alignment of each other).
>
>It seems to me that, for robustness' sake, we should create three
>consecutive block-areas for left, center, and right part. You can
>create them by placing three fo:inline-included-containers on the
>line (one more solution ;-)) or by absolutely aligned fo:blocks
>(yet another solution ;-)). But, won't it be simpler to use tables?

I don't see how your proposal is any better than the "position='absolute'"
suggestion in my previous email. 
  Neither "answer" I proposed works in all cases. At least the "table"
solution will wrap the field, but neither fallback is desirable in all cases.

-----------------------------------------------------------------------------
This e-mail reflects the personal opinion of the author.
 -- Unless explicitly so stated in the text, it does not represent an
    official position of Adobe Systems, Inc.
 -- Unless explicitly so stated in the text, it does not represent an
    official opinion of the W3C XSL Working group.
-----------------------------------------------------------------------------
  Stephen Deach                            |  Sr Computer Scientist
  408-536-6521 (office)                    |  Adobe Systems Inc.
  408-537-4214 (fax)                       |  Mail Stop E15-420
  sdeach@xxxxxxxxx                         |  345 Park Ave
                                           |  San Jose, CA 95110-2704
                                           |  USA
-----------------------------------------------------------------------------


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


Current Thread