One other thing, if you are creating stylesheets just for PDF's, remember
that in this case you are dealing with a known size (8 1/2 x 11 usually) and
that you should be using absolute values.  Points for font sizes, in(ches)
for placement (.15in is legal).  

Set your body up as 
body
{
        width: 8in;
        height: 10.5in;
        margin: .25in;
}

That will give you a 1/4 inch margin around your body when it prints.

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