[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: background in block container
Mark Williams wrote:
Hi Andreas, The XSL spec is very clear that the page regions always have an effective border width of zero. Note that both XEP and XSL Formatter 2.x (and probably 3.x, I haven't tested it) ignore this rule and will put borders on page regions. Don't know about FOP. 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. In general I find it easiest to not use page margins at all. It's important to remember that the page margins cannot have any marks--that is, they essentially define an unprintable area within the physical page. It's generally easier to do everything with the page regions. For example, to generate registration marks around a 6x9-type page, I define the physical page as 8.5x11 (or A4 or whatever) and then use margins on the page regions to create an effect 6x9 printed page. I can then use one or more of the edge regions to hold the registration marks (which can be created using external graphics or inline SVG or EPS [XSL Formatter supports inline EPS graphics]. The only legal way to get a border on a page region is to use a block or block container. Using a block-container within static should work, but there may be some issues with z-index depending on how the FO implementation stacks things, but generally I would expect the static content to be rendered under the flowed content (but I don't know that this expectation is supported by or required by the FO spec). Cheers, Eliot -- W. Eliot Kimber Professional Services Innodata Isogen 9030 Research Blvd, #410 Austin, TX 78758 (512) 372-8122 eliot@xxxxxxxxxxxxxxxxxxx www.innodata-isogen.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|