I'm trying to add a doctype above the <html> tag to get a script I'm trying to use work. It requires the following (I've rewritten it for the response.write):
Thanks. I tried that but I get the same results. I've also tried all other versions I found on the web.
Perhaps I have some tags incorrect somewhere causing the problem. With as many changes as I've made it's possible. The only thing is, without the doctype it all looks good.
Without the doctype its rendering in the most forgiving manner, the doctype is telling the browser what standards to apply - and using the xhtml strict is the least forgiving.
To use the doctype you'll have to fix all the fun little bugs that have been in your code all this time. Happy hunting.
To use the doctype you'll have to fix all the fun little bugs that have been in your code all this time. Happy hunting.
Is there a site that can help find the bugs in the code? I've used one of those html validator sites to check my page but it doesn't help. For example, it will say I have a closed tag such as </td> that was never open. But when I go look at the code there is no mistake.
There's also Total Validator which can check a lot more than just the HTML structure for you and the HTML Validator add-on for Firefox.
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.”