Last post May 13, 2011 02:01 AM by Jonathan Shen – MSFT
May 06, 2011 11:38 AM|aamir.ali|LINK
Hi All, I am trying to generate an MS Word Doc using HTML and CSS from C# as in
http://www.codeproject.com/KB/office/Wordyna.aspx The Problem: When I try to display an html styled header in the word doc, the document gets corrupted and does not open at all in
word 2003. In some cases, the document opens, but the header is scattered all over the place, pushing the content downwards. However, the same document is fine on Word versions >= 2007. Has anyone encountered this issue before? and what is the solution? Thanks,
May 13, 2011 02:01 AM|Jonathan Shen – MSFT|LINK
I guess it is caused by the version confliction. A simple way for this is to save your doc file to htm and compare it.