[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: Problem with cover
This is probably a hack, but have you tried using negative margin values on the region-body? Here’s what I do (works with xep): <fo:region-body margin-bottom="-.02in" margin-top="-.02in" margin-left="-.02in" margin-right="-.02in" background-repeat="no-repeat" background-image="url({$motive.component.cover.path})"> In addition, if you use a background image like that and are using xep, there are some extensions you can use to control the size of the background image: <xsl:if test="$xep.extensions != '0'"> <xsl:attribute name="rx:background-content-width">8.54in<!-- <xsl:value-of select="$page.width"/> --></xsl:attribute> <xsl:attribute name="rx:background-content-height"><!-- <xsl:value-of select="$page.height"/> -->11.04in</xsl:attribute> </xsl:if> </fo:region-body> … David From: WilliamFLawrence@eaton.com [mailto:WilliamFLawrence@eaton.com] Hi All, I’m having a bit of trouble with custom covers. I’ve trying to display an 8.5” x 11” graphic on the cover that essentially takes up the entire page. It displays with the top and bottom aligned, but it’s indented to the right. The following is in my customization layer. <xsl:template name="front.cover"> margin-top="0pt" Thanks in advance. Bill Lawrence |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]