Its not CFDocument, its the way PDF handles CSS.  For instance I can't get a
<dd> to float at all.

What I do (using FB makes it easy) is to set up a call to a PDF style sheet
when I am sending something to a <cfdocument> rather than the site style
sheet.  I'm more easily able to play around with making something look right
in Acrobat than trying to get the same CSS working in both Acrobat and HTML.

Trying to do the same thing in both is a losing proposition.

My suggestion is not to try to make things look exact, but to aim for
creating a PDF document that is clear and readable.

Hope that helps

Sandy Clark 

-----Original Message-----
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 10, 2006 10:31 AM
To: CF-Talk
Subject: Re: CSS formatting in cfdocument PDF

stupid me changed the padding to 0 on the PDF and forgot to change it back
so if you looked at it and it looked normal, that's my fault :)

Rick Root wrote:
> Take a look at this:
> 
> http://www.it.dev.duke.edu/policy.cfm (a PDF document)
> 
> and this:
> 
> http://www.it.dev.duke.edu/policy.html (the HTML version)
> 
> Both versions have 10 point padding above the ordered list list items:
> 
> #policy ol li {
>       padding-top: 10px;
> }
> 
> However, in the PDF version, the padding is not applied to the bullets 
> (ie, the roman numericals, letters, etc)
> 
> What's up with that?  Is that a cfdocument bug?




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231954
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to