]> granicus.if.org Git - docbook-dsssl/commitdiff
Tweaked rendering of 'draft' watermark
authorNorman Walsh <ndw@nwalsh.com>
Thu, 7 Feb 2002 18:00:58 +0000 (18:00 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 7 Feb 2002 18:00:58 +0000 (18:00 +0000)
xsl/html/docbook.xsl

index d5baba76ccbf0292074c5d83d4a033065848a73e..2bd5216d41f750cca41f150baee51befab1240fe 100644 (file)
     <style type="text/css"><xsl:text>
 body { background-image: url("</xsl:text>
 <xsl:value-of select="$draft.watermark.image"/><xsl:text>");
-       background-attachment: fixed;
        background-repeat: no-repeat;
-       background-position: center center;
+       background-position: top left;
+       /* The following properties make the watermark "fixed" on the page. */
+       /* I think that's just a bit too distracting for the reader... */
+       /* background-attachment: fixed; */
+       /* background-position: center center; */
 </xsl:text>
     </style>
   </xsl:if>
-
   <xsl:apply-templates select="." mode="head.keywords.content"/>
 </xsl:template>