Subject: [xsl] RE: FO: border on region-body versus region-after and region-before not touching From: Mario Madunic <mario.madunic@xxxxxxxxxxxx> Date: Tue, 12 Nov 2013 10:46:02 -0800 |
Solution found: Created: <xsl:attribute-set name="as_FixBodyBorderIssue"> <xsl:attribute name="margin-right"><xsl:value-of select="'-0.25pt'" /></xsl:attribute> <xsl:attribute name="margin-left"><xsl:value-of select="'-0.25pt'" /></xsl:attribute> </xsl:attribute-set> Removed border around footer and header then wrapped them in table with a border on fo:table. Finally added above attribute-set to fo:region-body. All borders align correctly now. Not a nice work around but it works. Mario -----Original Message----- From: Mario Madunic [mailto:mario.madunic@xxxxxxxxxxxx] Sent: Tuesday, November 12, 2013 7:29 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] FO: border on region-body versus region-after and region-before not touching Using AH6. I've added borders to the body, header, and footer of a page and am having an issue. The border on the body seems to sit on the outside of the body area, while the footer and header seem to sit on the inside causing a misalignment where they meet. This is making the body appear to be wider than both the footer and header. I removed the borders and gave each area a different background color and each area is the same width. Also removed all content but a single paragraph from the body (in FO XML) to see whether or not it was the content doing this; not the cause as far as I can see. Any insight would be appreciated. Thanks Mario Madunic | Software Developer | AeroInfo Systems, A Boeing Company | mario.madunic@xxxxxxxxxxxx | #200-13575 Commerce Parkway | Richmond, BC, V6V 2L1, Canada | www.aeroinfo.com | www.boeing.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] FO: border on region-body ver, Mario Madunic | Thread | [xsl] How do you troubleshoot rando, KAATMAN Matthew |
[xsl] How do you troubleshoot rando, KAATMAN Matthew | Date | [xsl] Fitting content to a box in F, Nic Gibson |
Month |