Html width not honored when inserted into word document content control

Hi Team,

I am trying to insert an html file with style tag into a content control on the document. The html appears properly on the browser and has a fixed width on the browser, but when I insert into the word document, it is always occupying 100% width even though I set it to 50% using both css and inline styles in the html.

Is there a way to control the width of the html content being inserted into CC.

Thanks

@arunsandeep Could you please attach your template, input HTML, output and expected output documents here for testing? We will check the issue and provide you more information.

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. In most cases Aspose.Words mimics MS Word behavior when work with HTML.