Skip to main content
Sep 3, 2016 4:08 PM UTC
Question

Remove extra space from footer of pdf file generated by cfhtmltopdf

Hi All,

I was working in generating pdf report from html content and I was trying to put footer html content in the pdf, but I'm unable to put it inside cfhtmltopdfitem tag as div tag and class is not allowed inside it. So, I just kept it inside my html body, but I'm getting a huge space between the html footer and the actual pdf footer(as show in the image).

So, is there any way to resolve this?

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

BKBK
Community Expert
Community Expert
Sep 13, 2016 6:15 PM UTC

See this previous thread: <cfhtmltodpf> margin . It might be useful to you.

Translate
WolfShade
Legend
Sep 12, 2016 1:23 PM UTC

Have you checked the margin settings for creation of PDF?  I don't work with cfhtmltopdf, preferring to use other methods for PDF creation, so don't even know if there are such settings.  But it seems to me this might be a margin issue.

HTH,

^_^

Translate