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

Free Support Forum - aspose.com

CSS is not preserved after HTML to Docx conversion

We are trying for Html to PDF conversion. For this we are following the bellow steps.
  • First we have converted HTML to DOCX
  • Then DOCX to PDF.

But while converting from HTML to DOCX, CSS are not reflecting.

Please find the attachment of html response.


Hi Varaprasad,

Thanks for your inquiry. Your issue relates to Aspose.Words , so I am moving your post to the related forum. My Aspose.Words colleague will guide you appropriately.

We are sorry for the inconvenience caused.

Best Regards,
Hi Varaprasad,

Thanks for your inquiry. The shared zip file have 0kb size. Could you please re-attach it here for testing purposes? We will investigate the issue and provide you more information. Thanks for your cooperation.

Hi Tahir,

I have reattached the .rar file.

Hi Varaprasad,

Thanks for sharing the html. Unfortunately, the shared .zip file does not contain the CSS files. Please share your css files along with screenshots of problematic sections in output document. As soon as you get these pieces of information to us we'll start our investigation into your issue. Thanks for your cooperation.