Hi,
I have an html table with inline formating for color, alignment etc…it displays correctly in browser, but when i try to insert same in word using aspose, i dont get same formatting in the word document.
Thanks for your inquiry. The problem with borders occurs, because Aspose.Words does not fully support table styles upon HTML import. I linked your request to the appropriate issue. You will be notified as soon as it is resolved.
The problem with text occurs because Aspose.Words does not support inheriting formatting from parent elements. Currently, Aspose.Words expects that font formatting is set in <span>, <i>, <b> or <u> element, formatting of paragraph – in <p> or <h1>…<h6> elements etc…
In your case, font color of text should be set in <span> tag.
Please see the following HTML: