I encountered the following issue
As depicted in the image
- The data is not being displayed properly
- In the next
td
, the last character3
is also printed on the next line - Is it possible to avoid page footer and header without adjusting the page margin?
I searched extensively for a solution, but the following code did not work for me in both Google Chrome and IE9:
<style>
@media print
{
body { font-size:small; font-family: myOpenSans, Tahoma; font-size:13px; color:#808080; display:table-row}
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>