Free Support Forum -

Aspose.word and absolute positioning

I have some html that has absolute positioned divs and a couple of other things that Microsoft Word does not recognize as valid css styles. I was reading that Aspose.Word can evalualte absolute positioned divs and render them out correctly for Word. Is this statement true, and, if so, could you supply some code (in c#) for how that can be done?



Thanks for your inquiry. Could you please attach sample HTML page? You can try to use the following code to convert your HTML page to Word document.

Document doc = new Document("in.html");


See the following document to learn more about converting format using Aspose.Words.

Best regards.