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

Free Support Forum - aspose.com

Convert HTML to PDF with element that has CSS Position: Aboslute does not display in PDF

Hello Aspose Support,

I am trying to convert the following HTML to a PDF. The style of each element in the HTML does not take place in the .PDF.

Here is the HTML

Mercy Lab Form
Marvin Muskegon 6/27/1957524525425
6/27/2017

Thank you in Advance
-Tony

@bigtonyk,
We have tested an HTML fileFilesZip.zip (54.9 KB) having the inline style with the position property (position:absolute) and it works fine in our environment with the latest version 17.6 of Aspose.Pdf for .NET API. If this does not help, then kindly do not paste an HTML string in the forum post because it does not appear properly. You can send us an HTML file as a Zip file attachment. We will investigate and share our findings with you.

Best Regards,
Imran Rafique