I think I have seen this problem/error and in my case, if memory services me right, the problem was that I have changed some HTML tag or something on the page had wrong HTML. That's what I would look for in your HTML code.
>Hi,
>
>I was recently working on a webform and now when I attempt to save the form I get a dialog which states:
>Could not reformat the document. The original format was restored.
>
>
>A google on the message returns:
>
>****************************************************************
>Visual Studio
>
>Could not reformat the document. The original format was restored.
>The HTML or XML in the document could not be rendered as specified in the markup.
>
>To respond to this message
>
>Check system logs to confirm the error that caused page formatting to fail.
>Confirm that your system can allocate sufficient memory to render the page.
>*******************************************************************
>
>I don't have a clue. Can someone point me in the right direction.
>
>Regards,
>Neil
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham