Subject: Re: [xsl] background in block container From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 16 Feb 2004 14:31:11 -0500 |
I've tried (I think) what you suggested, that is to control the border an background colour from the page's region-body.
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" />
This gives me a nice grey background, but it doesn't enclose it in a border. Have you any idea why?
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. I tried adding some padding, but it seemed to make no difference.
Is there an easy way to achieve this.
-- Public courses: upcoming world tour of hands-on XSL training events Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong: 2004-05-17 Germany: 2004-05-24 England: 2004-06-07 World-wide on-site corporate, government & user group XML training!
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] background in block conta, Mark Williams | Thread | RE: [xsl] background in block conta, Andreas L. Delmelle |
Re: [xsl] background in block conta, Mark Williams | Date | Re: [xsl] background in block conta, Eliot Kimber |
Month |