No, no change.

Here's the code I have:

<cfdocument backgroundvisible="yes" format="pdf" pagetype="letter"
orientation="landscape">
                <cfif arguments.report_status is "draft">
                        <style type="text/css" media="print">
                        body {
        
background-image:url(#request.baseURL#images/draft-watermark.gif);
                                background-position:center;
                        }
                        </style>                
                </cfif>

I've tried with 'media="print"' and without. I've tried the style tags
before and after <cfdocument>. I am sure that the image file exists
where I say it does. I've tried attaching the image to html and table as
well as body. All give the same result.

I tried changing my browser settings to display background images when
printing. Still nothing.

If I comment out all of the <cfdocument> and child tags, the HTML I get
has a background image.

I'm stumped. 


-----Original Message-----
From: Qasim Rasheed [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 13, 2006 5:14 PM
To: CF-Talk
Subject: Re: Creating a watermark for CFDOCUMENT

I think technically those are related. CFDocument uses the styles that
you have defined for printing and take advantage of your printing
preferences.
FWIW.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246472
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to