Skip to main content
This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

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.

Error Messages

Not Applicable

Steps to Reproduce

  1. Try adding two tables in HTML.
  2. Give the table column widths same for both the tables.
  3. Then try to run the rule and check whether the two tables are same in column width.

Root Cause

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 %



Suggest Edit

Published October 20, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us