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:295000
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4