How do I change point size in a ColdFusion .pdf footer?

Posted on 2009-04-24
Medium Priority
Last Modified: 2012-05-06
I am trying to specify a footer for a multi-page .,pdf using ColdFusion, so that I have code as per the section below. It seems as though CF ignores all HTML tags to do with point size in the footer. I have tried <font size='x'>, <style='font-size:xpt'> and variations on these, but nothing works. Does anybody know it it's possible to control the point size in the footer?
<cfdocumentitem type='footer'>

Open in new window

Question by:DataCollab
LVL 19

Assisted Solution

erikTsomik earned 800 total points
ID: 24228365
LVL 39

Accepted Solution

gdemaria earned 1200 total points
ID: 24263156
If you're linking to an external style sheet, you need to include that link inside the header and footer tags as well.   If you're styles are embedded, then that is not an issue.

The PDF files will resize your footer in it doesn't fit well in the space provided.  Resizing means the footer may shrink thus making it appear your font is smaller when actually it was just scaled down to fit.  

So you need to adjust the margin in your cfdocument tag to allow more footer space.  You can also create an absolute position div inside the footer with a fixed height and width to help control the size.  

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question