Html to Word- margin-top ignored

I am having an issue converting html to word using Aspose.Words

I have a very simple test case which is attached as AsposeTestDoc.xml. PLEASE NOTE THIS IS AN HTML FILE. I WAS NOT ABLE TO UPLOAD WITH HTML EXTENSION DUE TO LIMITATION OF FORUM.

step 1) rename AsposeTestDoc.xml to AsposeTestDoc.html

step 2) open AsposeTestDoc.html and save it as a word doc with aspose

step 3) open generated word file with ms word

step 4) open AsposeTestDoc.html with ms word.

you will observe that the text is higher in the document generated by aspose. Aspose has ignored the margin-top on the table.

I have attached samples of the html being converted with Aspose and with MS Word

Can someone from Aspose please at least reply…

Hi Josh,

Thanks for your inquiry and sorry for the delayed response.

While using the latest version of Aspose.Words i.e. 16.1.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-13080. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,


The latest version still has this bug. Any idea when we can expect a fix?

Hi Josh,

Thanks for your inquiry. Unfortunately, your issue is not resolved yet. We have asked the ETA of this issue from our product team and will update you as soon as any estimates are available. We apologize for your inconvenience.

Best regards,