kaitco
12-09-2006, 09:08 PM
What troubleshooting measures can I take when a script seems to break if a proper Doctype is used?
For example (http://www.dynamicdrive.com/forums/showthread.php?t=15535), if I use a game script precisely as it is offered, it works perfectly, sans Doctype, like here (http://www.doriennesmith.com/peace/hanoi2.html). However, if I add a doctype to the page, like here (http://www.doriennesmith.com/peace/hanoi.html), 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!
For example (http://www.dynamicdrive.com/forums/showthread.php?t=15535), if I use a game script precisely as it is offered, it works perfectly, sans Doctype, like here (http://www.doriennesmith.com/peace/hanoi2.html). However, if I add a doctype to the page, like here (http://www.doriennesmith.com/peace/hanoi.html), 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!