Hi guys,
I am trying to put a background image in a footer. But the problem is
that it does not cover the whole page width (not including the margins
of course). Could you please advise me what I do wrong?
As far as I understand the problem is that the footer is built as a table, so
only one cell is covered by the image.
Here is the code:
<xsl:param name="footer.path"
select="'../scripts/images/footer.png'"/>
<xsl:attribute-set name="footer.content.properties">
<xsl:attribute name="font-family">Helvetica</xsl:attribute>
<xsl:attribute name="font-size">8pt</xsl:attribute>
<xsl:attribute name="background-image">
<fo:external-graphic width="auto" height="auto">
<xsl:call-template name="fo-external-image">
<xsl:with-param name="filename" select="$footer.path"/>
</xsl:call-template>
</fo:external-graphic>
</xsl:attribute>
<xsl:attribute name="background-attachment">fixed</xsl:attribute>
<xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
<xsl:attribute name="background-position-horizontal">left</xsl:attribute>
<xsl:attribute name="background-position-vertical">center</xsl:attribute>
</xsl:attribute-set>
Thank you all in advance!
nancy