Re: [xsl] region-body's border

Subject: Re: [xsl] region-body's border
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 15 Dec 2006 19:08:58 +0100
Dave Dran wrote:
Please help. I can't seem to get the border appearing

<fo:region-body margin-top="2cm"
margin-left="2cm" margin-right="3cm"
margin-bottom="2cm" background-color="rgb(255, 255, 255)"
border-color="rgb(0, 0, 0)" border-style="solid" border-width="1pt"/>

Regions must not have a border, according to the spec http://www.w3.org/TR/xsl/slice6.html#fo_region-body 'In version 1.0 of this Recommendation, the values of the padding and border-width traits must be "0"'

I am using Stylus Studio for XSL FO

IIRC there are settings which can make region borders appear. Alternatively (and more portable), borders can be faked with either an appropriate background image or by using borders of some block containers placed in the static content regions.

J.Pietschmann

Current Thread