What troubleshooting measures can I take when a script seems to break if a proper Doctype is used?
For example, if I use a game script precisely as it is offered, it works perfectly, sans Doctype, like
here. However, if I add a doctype to the page, like
here, the script no longer works correctly. The problem also persists across browsers.
So, I am wondering what, if anything, I can do to ensure that a script works correctly with a Doctype, even if it was created without one?
Many thanks!