Answers for "page break in html"

0

table broken html after change page

<html>
<head>
<style>
@media print
{
  table { page-break-after:auto }
  tr    { page-break-inside:avoid; page-break-after:auto }
  td    { page-break-inside:avoid; page-break-after:auto }
  thead { display:table-header-group }
  tfoot { display:table-footer-group }
}
</style>
</head>

<body>
....
</body>
</html>
Posted by: Guest on October-15-2020
0

page break html

/* move to a new page after footnotes */
div.footnotes {
  page-break-after: always;
}
Posted by: Guest on August-13-2021

Browse Popular Code Answers by Language