A requirement for a current project is that the pages be strict HTML 4.01 - I simply can't get ASP.NET to produce said HTML.
I've already solved the problem of Browsers other than IE not being recognised, but this seems to be a more tricky problem.
The specific problem is the hidden viewstate field, which I have no control of programatically, yet is not valid HTML.
Here's a snippet of source (note that I've had to hack it a bit just to be able to post it - I've added "-" to each HTML tag).
The specific error found by the W3c html validator is:
"document type does not allow element "INPUT" here."
Which means that the hidden {input} tag must be enclosed in a div or similar tag.
Any ideas how to fix this?
I've already solved the problem of Browsers other than IE not being recognised, but this seems to be a more tricky problem.
The specific problem is the hidden viewstate field, which I have no control of programatically, yet is not valid HTML.
Here's a snippet of source (note that I've had to hack it a bit just to be able to post it - I've added "-" to each HTML tag).
The specific error found by the W3c html validator is:
"document type does not allow element "INPUT" here."
Which means that the hidden {input} tag must be enclosed in a div or similar tag.
Any ideas how to fix this?