i hav a web page to display record of students in tabular form.to take print out its neccessary condition that whole record should come in one page not in separate pages is there any way to make page break after every records as there are more than 300 records its very difficult to take printout by individually selecting all records
page break during print in asp
Collapse
X
-
There is a "page-break-before", "page-break-after", "page-break-inside" property in CSS, this is what you want to use, however I'm not sure how well this is implemented in different browsers. Anyway, this is how it looks:Code:<table style="page-break-before: always; page-break-inside: avoid;">
Jared
Comment