HTML CSS examples for CSS Widget:Footer
Show footer only on last page
<html> <head> <style type="text/css"> .newpage {<!-- w ww. j av a2s . c om--> page-break-before:always } @page{@bottom-center { content:element(footer) } #footer { position:running(footer); } </style> </head> <body> <div> Lorem ipsum dolo </div> <div class="newpage"> Lorem ipsum dolo </div> <div class="newpage"> Lorem ipsum dolo </div> <div id="footer"> Lorem ipsum dolor sit </div> </body> </html>