Subject: RE: [xsl] background in block container From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> Date: Mon, 16 Feb 2004 20:39:58 +0100 |
> -----Original Message----- > From: Mark Williams > > I've tried (I think) what you suggested, that is to control the border an > background colour from the page's region-body. > <snip /> > This gives me a nice grey background, but it doesn't enclose it > in a border. > Have you any idea why? Yup, you're right about the general idea, but IIC, borders are yet unimplemented for the regions (in FOP that is). > I've tried the following: > > <fo:region-body margin-top="2.53968253968254cm" > margin-left="2.87393298059965cm" margin-right="3.02393298059965cm" > margin-bottom="2.53968253968254cm" background-color="rgb(226, 226, 226)" > border-color="rgb(0, 0, 0)" border-style="solid" border-width="1pt" /> > So what I actually meant by 'leave the borders where they are' was to leave them on the block-container in the static content... > > Also, I would like to be able to control where the borders start (ie not > merely around the margins of the page) eg if the left margin is 3cms from > the left edge of the page, I might want the border and background to start > 1cm from the left edge of the page. > ... that way this should pose no real problem. You can do the same BTW for the region-start and region-end to have the background 'extend' beyond the region-body's boundaries (--and have static-contents in them to add a twist to the borders) > Is there an easy way to achieve this. > Well, depends on what you call easy, not? ;) Have fun! Cheers, Andreas XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] background in block conta, Eliot Kimber | Thread | [xsl] exslt:node-set() vs Xalan-J 2, Julian Reschke |
Re: [xsl] background in block conta, Eliot Kimber | Date | RE: [xsl] background in block conta, Andreas L. Delmelle |
Month |