python - I want to show footer only on last page using xhtml2pdf in django template -


if delete lastpage keyword shows footer on pages when add lastpage keyword doesnt showing footer

 <style>                    {% block style %}                @page lastpage{ ///last page keword line                     size: {{pagesize}};                     margin: 1cm;                     @frame footer {                         -pdf-frame-content: footercontent; ///footer div                         bottom: 1cm;                         margin-left: 1cm;                         margin-right: 1cm;                         height: 140px;                     }                 }             {%endblock%}         </style>      <body>                     <div id="footercontent">                 <div class="botom">                         test data                 </div>                   <div class="agree">                     i/we certify our xxx...                 </div>               </div>     </body> 


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -