Are you using overflow: auto in your CSS anywhere? Rupesh Kumar found some
bugs in cfdocument when overflow was set to auto:

http://coldfused.blogspot.com/search/label/cfdocument

http://coldfused.blogspot.com/2007/12/missing-text-in-pdf-created-by.html

http://coldfused.blogspot.com/2007/12/images-and-cfdocument-performance.html

-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 18, 2007 9:39 AM
To: CF-Talk
Subject: CFDOCUMENT creating a PDF - ARGH!

I'm trying to use CFDOCUMENT (CF 7 with updates) to create PDF files for a
client.

If I remove the CFDOCUMENT tags surrounding my code, the page renders fine.
Put the CFDOCUMENT back in and the page falls apart - CSS is ignored.

So, I've got something wrong somewhere. Is the basic format for creating a
PDF page below correct? Is the problem the way the CSS file is referenced?
How else should I try to do that?

------- START OF TEMPLATE --------

- QUERIES HERE-

<cfdocument format="PDF"
             mimetype="text/html" >

<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
   <link rel="stylesheet" type="text/css" href="css/makePDF.css" /> </head>

<body>

- OUTPUT BLOCK - STANDARD CFOUTPUT AND STUFF -

</body>
</html>

</cfdocument>


---------- END OF TEMPLATE ---------



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295002
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to