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

Free Support Forum - aspose.com

Alignment issue while converting docx to html

Hello,

We have purchased an Aspose licence. We're currently facing alignment issues while converting .docx files to .html using Aspose Words 11.9.

Please find attached the original file as well as the converted file. Kindly provide a solution for the loss of alignment.

Thanks and Regards,

Nikhil

Hi Nikhil,


Thanks for your inquiry. As mentioned here, please note that Aspose.Words always tries to generate clean HTML and in your case it uses the correct CSS syntax that is
. Also, the align attribute of
is deprecated in HTML 4.01. I am afraid, we won’t be able to provide a solution for this behaviour in Aspose.Words. If we can help you with anything else, please feel free to ask.

Best Regards,