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

Free Support Forum - aspose.com

CSS selector support for converting HTML to PDF

I have attempted to use the following CSS both embedded in the html as well as externally but the font size does not appear in the resulting PDF:

table.list td {
font-size: 32pt;

If I just use the following then the font size works as expected:

td {
font-size: 32pt;

Does the HTML to PDF conversion support the CSS selector style shown above?

I am using a trial of version of your PDF product.


Hi Gerald,

Thanks for your interest in our products.

Kindly check the following documentation links for details and code snippets as per your requirement.

How to convert HTML to PDF using InLineHTML approach

However, if you still face any problem, kindly share the template documents with us or create a sample application to show the issue. This will help us to identify the issue and reply back to you soon. Moreover, please visit Purchase Information for all details about licensing, even before purchasing the license, you may also request a 30 days temporary license for evaluating the product.

Please feel free to contact support in case you need any further assistance.

Thanks & Regards,