You need to sign in to do that
Don't have an account?
Alexander Atkinson
Footer on the last page of document (Visual Force)
Hello i've made a visual force page. I have a footer containing general terms and conditions, but I only want it on the last page. My problem is the footer appears on every page right now.
Help would be appreciated, thanks!
Help would be appreciated, thanks!
<apex:page > <head> <style> .footer { position: fixed; left: 0; bottom: 0; width: 100%; text-align: center; } </style> </head> <body> <img src="{!$Resource.Logo}" align="right" style="vertical-align: top;" width="25%"/> <div> Main content here </div> <div class="footer"> <hr/> stuff here on bottom of last page </p> </div> </body> </apex:page>
Refer this link
https://salesforce.stackexchange.com/questions/153315/facing-problem-adding-footer-in-the-last-page-vf-rendered-as-pdf