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

background in block container

Subject: background in block container
From: "Mark Williams" <mark@xxxxxxxxxxx>
Date: Mon, 16 Feb 2004 18:32:45 -0000
block container
Hi,

I'm trying to achieve a page background with a border and a nice shade of
grey, but for various reasons I need to do it inside of static objects in
region-before.

If I do the following:

 <fo:static-content flow-name="xsl-region-before-page_1">
<fo:block-container position="absolute" left="3cm" top="1.5cm" width="15cm"
height="26cm" background-color="rgb(226, 226, 226)" border-color="rgb(0, 0,
0)" border-style="solid" border-width="1pt">

  <fo:block>&#160 </fo:block>

  </fo:block-container>

This produces the correct border and background colour but unfortunately it
sits on top of my body text.

Is there any way of making the body text show through the block container
whilst assigning a background colour.  I assume not, but thought it worth
asking.

On the assumption that I can't do the above, could any one give me a steer
as to how I would do the following:

1.    If I add a block-container to the body-region flow which contains the
background colour etc, I know that this works, but, is there any way I can
set the boundaries of that block-cotainer so that it ignores the margin.  In
other words, how do I set it 1cm from the edge of the page, as opposed to
1cm from the left margin?

Thanks,

Mark


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


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.