Skip to main content
September 3, 2016
Question

Remove extra space from footer of pdf file generated by cfhtmltopdf

  • September 3, 2016
  • 2 replies
  • 657 views

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
September 13, 2016

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

WolfShade
Legend
September 12, 2016

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,

^_^