I have had problems in the past where cfdocument would not pull in an image.
I figured out that because the directory had NTFS permissions on it that the IUSR (anonymous) user was not allowed to load the image cfdocument could not load the image. Maybe you are running into the same thing that the CSS cannot be loaded because of user permissions where the CSS file is???? I solved it by placing the image out in a public folder, then cfdocument could load the image into the PDF. -----Original Message----- From: Troy Montour [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 12:15 PM To: CF-Talk Subject: cfdocument issues. I'm having an issue with cfdocument not loading my style sheets. here is my cfm page took the tag bracket off so it would show. I've tried linking to the style sheet but that didn't work either. If I change the class= to inline styles it works fine but this would be a pain since we have a few reports that I was trying to make sure the layout would be the same. cfoutput cfdocument format="pdf" filename='c:\inetpub\wwwroot\dds\Troys\test.pdf' pagetype = "letter" overwrite="yes" style type="text/css" @import url("./dds/css/metrics2.css"); /style table class="ReportTable2" tr td class="ReportHeaderCell2" Test /td /tr /table /cfdocument /cfoutput here is the css file td.ReportHeaderCell2 { border-bottom:1px solid #000000; border-right:1px solid #000000; background-color:#FF0000; font-family:Verdana; font-size:11px; color:#FFFFFF; text-align:center; vertical-align:middle; font-weight:bold; padding:2px 2px 2px 2px; } table.ReportTable2 { border:1px solid #000000; margin:0 5px 10px 5px; } if I load this with out the cfdocument tag it load fine with red background and a black border. but as soon as I create the pdf the formating disappears. we are using CF7 any help on this would be great.. Thank you in advance. Thank You Troy Montour ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285596 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

