Put the actual css within <style></style> tags on the actual page.

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>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:295003
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