CSS on div are not applied in conversion html to word

Hello Team,

We are trying to convert HTML to Word. We can’t use Hhtml tables structure as after conversion also their is html table in the background of word document (Ctrl+A will show the html table in word). because of that user is not able to edit the word document freely.

Now we are creating HTML table with div & p tags. but css are not applied in conversion.

Test.zip (310 Bytes)

@Sudrashya Aspose.Words behavior is expected in this case, this is not a defect. In this case Aspose.Words fully mimics MS Word behavior.
Please note, Aspose.Words is designed to work with MS Word documents. HTML documents and MS Word documents object models are quite different and it is not always possible to provide 100% fidelity after conversion one format to another.
Regarding your HTML, there is no direct analog of DIV elements in MS Word documents, usually the DIVs are converted to paragraphs in Aspose.Words DOM. This might cause the difference.