I will 2nd that one, never had luck with paths to css files, I just
<style>, works perfect.

Chris

-----Original Message-----
From: Ben Doom [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 18, 2007 10:51 AM
To: CF-Talk
Subject: Re: CFDOCUMENT creating a PDF - ARGH!

I found I got better results with CSS by cfinluding the file into a 
style block, instead of doing what you did.

HTH.

--Ben Doom

Les Mizzell wrote:
> 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:295015
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