xsl-list
[Top] [All Lists]

Re: position= and blocks (was And operator usage in XSL)

2004-07-28 16:01:59
So while it's interesting academically to know what relative-position
*should* do, in practice it has no utility because you'd never use it
anyway.

I have a question.  If you don't use relative-position, how would you
position one block over another, for instance if you wanted to position some
text over an image, and you wanted this to occur in the normal flow on a
page ?

Thanks

John

----- Original Message ----- 
From: "Eliot Kimber" <ekimber(_at_)innodata-isogen(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, July 29, 2004 10:34 AM
Subject: Re: [xsl] position= and blocks (was And operator usage in XSL)


However, reading the description relative-position I'm not 100% clear
what it means for blocks. My initial reading is that it has no effect
but I also grant that the description is confusing at best.

Doing an experiment with XEP 3.77 and XSL Formatter 2.5 it appears that
relative-position has no effect on blocks. My test instance is below.
The first two blocks format the same with XSL Formatter. With XEP, the
second block is only 2in wide (the 1.0 spec is ambiguous about whether
width= is meaningful on fo:block). The second two blocks are formatted
with identical positioning by both formatters.

I suspect that the reason this has never come up is that the way to
position things in XSL-FO with block-container.

So while it's interesting academically to know what relative-position
*should* do, in practice it has no utility because you'd never use it
anyway.

I suspect that the relative-position property is a CSS hold over that
was supplanted by block-container relatively late in the development of
XSL-FO 1.0. But I'm only guessing.

Cheers,

Eliot
-- 
W. Eliot Kimber
Professional Services
Innodata Isogen
9030 Research Blvd, #410
Austin, TX 78758
(512) 372-8122

eliot(_at_)innodata-isogen(_dot_)com
www.innodata-isogen.com

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--