We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Converting multi-column HTML file to PDF


We’re using Java Aspose.Pdf to convert HTML documents to PDFs. Unfortunately, the CSS column-width and column-size properties do not seem to be rendered correctly.

If you open the attached html file in a browser, you will see the text is laid out in two columns. When this html is converted to a PDF, the columns are missing. Is there a way to get Aspose.Pdf to convert this HTML correctly?

Thank you,

example.zip (7.8 KB)


Would you please share the sample code snippet that you are using to generate PDF. We will test the scenario in our environment and address it accordingly.

Sure, here it is:
asposeColumns.zip (12.3 KB)


We were able to reproduce the issue in our environment while using Aspose.PDF for Java 20.5. Therefore, we have logged an issue as PDFJAVA-39466 in our issue tracking system for the sake of correction. We will look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.