Les,

Put the CSS include inside of the CFDOCUMENT tags, and then it will
reference the CSS.

Rob

On Dec 18, 2007 10:39 AM, Les Mizzell <[EMAIL PROTECTED]> 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:295005
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