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?
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.
Copy link to clipboard