abortionxzxpill
New Member
I have an invoice in html that displays well on the screen. I want to print it to pre-formatted paper. the paper has three sectionsHeader (fixed height from the Top of the page)Body (table made up of 1 - N rows)Footer (fixed height from the bottom of the page)I have tried using CSS and creating a div using #InvFooter and CSS\[code\]<link rel="stylesheet" href="http://stackoverflow.com/questions/14047440/print.css" type="text/css" media="print" />@page { size:8.5in 11in; margin: 2cm }#InvFooter {position:absolute;left:50px;bottom:0px;} \[/code\]I Have two problems I can't figure out.[*]How to anchor the footer to the bottom of the printed page.[*]How to limit the Body to a fixed section of the page and overflow into another page if the table has too many rows.