[thelist] DOCTYPE Quirk in IE6

gregory.john.toland at census.gov gregory.john.toland at census.gov
Mon Mar 4 13:25:01 CST 2002


I have tried unsuccessfully to get my menu-driven DHTML/Javascript code to
work in IE6.  It does not work if I have as my first line of code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html401/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict file://EN">

This DOES work.  Why?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

Gregory J Toland
Sr. Systems Architect
CHM, Inc.
(301) 457-8058
tolan002 at census.gov




More information about the thelist mailing list