xsl-list
[Top] [All Lists]

Re: [xsl] region-body's border

2006-12-15 11:09:25
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>