coldfusion - CFDocumentItem - change font size -
i creating footer in pdf document using <cfdocumentitem type="footer">
, working fine. except cannot seem control font. have tried <span>
, <font face>
etc. no luck. trying table class below.
anyone know how control font in footer <cfdocumentitem>
?
<cfdocument format="pdf" marginbottom = ".5" marginleft = ".4" marginright = ".4" margintop = ".2" > <style type="text/css">@import "pdf.css";</style> <cfdocumentitem type="footer"> <cfoutput> <table width=100%> <tr> <td class=verd10> <b>#pdfstuff.pdffinal#</b> </td> <td align=right class=verd10 valign=top> page #cfdocument.currentpagenumber# of #cfdocument.currentpagenumber# </td> </tr> </table> </cfoutput> </cfdocumentitem> pdf document data etc </cfdocument>
try adding copy of stylesheet link inside footer, so:
<cfdocumentitem type="footer"> <style type="text/css">@import "pdf.css";</style> <cfoutput> <table> ... etc </table> </cfoutput> </cfdocumentitem>
Comments
Post a Comment