|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
olivehouse Smarty n00b
Joined: 04 Aug 2015 Posts: 2
|
Posted: Tue Aug 04, 2015 3:05 pm Post subject: Footer image on every page when you print |
|
|
Hey
I need to be able to have a div at the bottom of each page that is printed. I am using Smarty to create an invoice template and every order I select it creates the invoice ready to print. The length of the body changes for each page so the footer just has to always sit at the bottom of each page regardless of the length of the content.
However I have tried various ways but nothing seems to work. I can easily get the image to the bottom of the page if there is one page, or the last page if there is 5 pages but nothing seems to work for everypage.
Can anyone help? |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Wed Aug 05, 2015 12:32 am Post subject: |
|
|
There's a documented solution (I.e. <div style="display: fixed; bottom: 0;"/>), but unfortunately it doesn't work in Chrome, which is about 70% of all modern browsers. :/ |
|
Back to top |
|
olivehouse Smarty n00b
Joined: 04 Aug 2015 Posts: 2
|
Posted: Wed Aug 05, 2015 2:56 pm Post subject: |
|
|
Thanks for the reply, tired that and could not get it to work on chrome as you said. Is there nothing else that can work on chrome? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|