Add custom footer in all print pages

21 views
Skip to first unread message

Rohit Waghchaure

unread,
Jul 30, 2014, 4:05:45 AM7/30/14
to erpnext-dev...@googlegroups.com
Hi,

To add footer in print, i have added below css code

        @media print {
           html, body {
                      width: 100%;
                      height: 100%;
                      margin: 0;
                      padding: 0;
           }

           #footer {
                     position: absolute;
                     bottom: 0;
                     display: block;   
           }
          }

     HTML code:

     <div id="footer">
     <img src="/files/footer.png" />
     </div>is applied only on

But it's working only for first page, for more details please find attachment.
Is there any another way, so i can add footer in all print pages.

Thanks, Rohit
First page with footer.png
Second page with no footer.png
Reply all
Reply to author
Forward
0 new messages