I have a web page(INVOICE) which is looks like this
I had used html, css and php to create this page. I am printing this page from java script with
windows.print();
this whole page is in TABLE tag. when the content is more than one page the page look like this, I need a border-bottom when two page breaks, please help me.
thanks in advance
Read about page breaks in css. They could lead you into the right path.
http://css-tricks.com/almanac/properties/p/page-break/
also read this answer https://stackoverflow.com/a/8712756/406659
<style type="text/css">
table { page-break-inside:auto }
tr { page-break-inside:avoid; page-break-after:auto }
</style>