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

Free Support Forum - aspose.com

How to add css so it should get applied when exporting HTML to Word

Hi Awais ,

Thanks for your last reply

I tried to export HTML to Word using Aspose , In .net windows (EXE) application

I used doc.InsertHtml() to this HTML stream is passed which contains tag and HTML elements.

In style css classes specified .

but in output Word document none of CSS applied

Regards ,
Jeevan Joshi.

Hi Jeevan,

Thanks for your inquiry and sorry for the delayed response. I am working over your query and will get back to you soon.

Best regards,

Hi Jeevan,

Thanks for your patience. Aspose.Words’ HTML engine tries to mimic the way the Microsoft Word works. This means if you save your HTML to a Word format using Microsoft Word, the output should appear almost exactly as done by Aspose.Words. Please follow this thread for further proceedings.

Best regards,