Issue:
We are printing HTML in a pdf document that might contain horizontally larger HTML table elements.
The requirement is to fit such tables into the document (A4: portrait) no matter its width.
The expectation would be, even if the table is wider it has to be scaled down or shrink to fit on the page without scaling down the other contents on the page and the scaled-down table should not get pushed to a new page.
So, in short;
‘Scale-down/shrink HTML tables to fit horizontally, on an A4 Page’
We are printing HTML in a pdf document that might contain horizontally larger HTML table elements.
The requirement is to fit such tables into the document (A4: portrait) no matter its width.
The expectation would be, even if the table is wider it has to be scaled down or shrink to fit on the page without scaling down the other contents on the page and the scaled-down table should not get pushed to a new page.
So, in short;
‘Scale-down/shrink HTML tables to fit horizontally, on an A4 Page’