|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] background in 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>  </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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








