[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: region-body's border

Subject: Re: region-body's border
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 15 Dec 2006 19:08:58 +0100
Re:  region-body's border
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.