[xep-support] background-image clipping

From: Steve Lloyd (steve.lloyd@ibo.org)
Date: Sun Oct 10 2004 - 23:29:40 PDT

  • Next message: Steve Lloyd: "Re: [xep-support] MathML support"

    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@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
    


    This archive was generated by hypermail 2.1.5 : Sun Oct 10 2004 - 23:57:54 PDT