Free Support Forum - aspose.com

Spacing issues with HTML to PDF

I’ve found significant discrepancies in spacing when converting HTML to PDF. Table cells in the PDF document are offset differently compared to the HTML when viewed in browser.

As an example: (PDF on the left, HTML on the right) image.png (150.4 KB)
Note how several elements in the PDF document are pushed toward the edge of the page.

Is there any way around this issue? Thanks in advance.

Sample code and html document:
ConvertTruncated.zip (313.2 KB)

@bizcaps,

We are looking into this and will get back to you with feedback soon.