[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: position= and blocks (was And operator usage in XSL)
From: Eliot Kimber <ekimber@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Jul 2004 16:46:06 -0500
Re:  position= and blocks (was And operator usage in XS
john farrow wrote:

Thats for the info Eliot.

I have been looking at this and came up with this to place the two blocks
over one another:

<fo:block id="outer">
   <fo:block-container absolute-position="absolute">
      <fo:block>A</fo:block>
   </fo:block-container>
   <fo:block>B</fo:block>
</fo:block>

I think (please correct me if I am wrong) only one block-container is
necessary, and it will be positioned relative to its containing area (with
id="outer") so the two blocks will be over each other, and only the second
fo:block is in the normal flow.

This only coincidently works in your test because the block "outer" happens to be the first block on the page.


Unfortunately, block-containers are positioned relative to the nearest containing reference area, which in this case is the pages region-body.

fo:block does not establish a reference area so there's no way for block-container to be positioned relative to it.

In your test, if you put a block before what is now the first block you'll see what I mean.

Cheers,

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

eliot@xxxxxxxxxxxxxxxxxxx
www.innodata-isogen.com

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.