Column width in Printed PDF from HTML code is different
The user is trying to generate a PDF file with the data collected from Clipboard. They are making use of HTML to show it in tables and this html is converted to PDF
For all the tables, the user has given same column width, but for one of the tables the column width is different in the generated PDF file.
Steps to Reproduce
- Try adding two tables in HTML.
- Give the table column widths same for both the tables.
- Then try to run the rule and check whether the two tables are same in column width.
The column width specified was auto and hence the width generated in PDF is taking up as per content in the column.
As user wanted fixed widths for all the tables added the below CSS in user's HTML code.
width: 30 %
width: 70 %
Published October 20, 2016 - Updated October 8, 2020