Forum Moderators: open
I have a very special menu bar (open source download) that uses the DocType
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
It will fail visually if I try a more modern DocType and the script is to complex & my JavaScript skills to poor to upgrade to work with modern DocTypes.
My question is there anything wrong with using DTD 3.2, the script is a navbar for an admin section an it's users will have IE6 only so cross browser is no issue.
Sorry for my ignorance but 3.2 was before my time and I’m only familiar with current standards.
Thanks
mossimo
Modern browsers such as IE6 should simply go into quirks mode and render your code just fine. If that's not the case, I can't imagine what you've got your hands on, but I would definitely stay away from using it until it's been re-coded.
The doctype shouldn't affect javascript support, or even css support - only HTML rendering. As I understand it, support for javascript or css is browser dependent, not DTD dependent.
I thought about that to tedster and your rite, don't include the URL portion and through it into quirks mode and it works fine!
I guess I can live with that I just won’t put it in my resume.;)
GOOD <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">