Make sure it is valid HTML, specifically looking for unclosed tags.
The PDF creation engine doesn't work with a bunch of CSS. If you are
able to reformat the code into more simple HTML then it might behave
better.

-Mike Chabot

On Wed, Dec 10, 2008 at 11:27 PM, Steve Sequenzia <[EMAIL PROTECTED]> wrote:
> Gerald - Thanks for this info. I works but I am having another issue with it.
>
> For some reason any div tags that are floated left in the savecontent are not 
> showing up when the pdf is created. All of the data in the div tag is just 
> not there.
>
> Any idea or anyone else have any ideas.
>
> Any help would be great.
>
> Thanks.
>
>>Put this on the page you are working on. Put the content that you want in
>>the pdf in the cfsavecontent block.
>>
>><cfoutput>
>>    <a href="#Script_Name#?action=gimmie"></a>
>></cfoutput>
>>
>><cfsavecontent variable="MyContent">
>>Your content goes here
>></cfsavecontent>
>>
>><cfoutput>
>>   #MyContent#
>></cfoutput>
>>
>>
>>
>><cfif URL.Action EQ "gimmie">
>><cfdocument
>>             format = "PDF"
>>             overwrite = "yes"
>>             encryption = "none"
>>             fontembed = "yes"
>>             backgroundvisible = "no"
>>             margintop ="0.20"
>>             marginleft="0.20"
>>             marginright="0.20">
>>             #MyContent#
>></cfdocument>
>></cfif>
>>
>>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316604
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