[xep-support] background-image clipping

Steve Lloyd steve.lloyd at ibo.org
Sun Oct 10 23:29:40 PDT 2004


I have a banner which is output as a page header, as a background image 
to a block which contains header text.
What's the best way of ensuring that the entire background image is 
displayed? At the moment it is clipped to the area of the block text - 
which seems sensible, but not what is needed.

            <fo:static-content flow-name="chapterStartPage-region-before">
            <fo:block space-before="14mm" width="175.68mm" 
height="50.83mm" color="white" 
background-image='url(../resources/images/background.png)' 
background-repeat="no-repeat">
                <fo:block xsl:use-attribute-sets="Level3Text">
                 <xsl:value-of select="ancestor::part/title"/>
                 </fo:block>
                 <fo:block space-after="20mm" 
xsl:use-attribute-sets="Level2Text">
                 <xsl:value-of select="title"/>
                 </fo:block>
            </fo:block>
            </fo:static-content>

Any help gratefully appreciated.

-- 
Steve Lloyd, XML Developer-Editorial Production Dept.
International Baccalaureate Organisation
Tel: +44 29 2054 7869
FAX: +44 29 2054 7778


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list