From: Dan W. <dy...@da...> - 2003-10-12 01:03:50
|
my guess is that when it doesn't work, mozilla is in it's 'full standards' html rendering mode, which just means that it doesn't try to fix common mistakes by html writers, etc. To find out whether a page is in full standards mode, click View->Page Info, and look at the Rendering Mode. Here is a good listing of which doctypes are in which mode: http://www.mozilla.org/docs/web-developer/quirks/doctypes.html There are also a few good articles on DevEdge about the different modes: http://devedge.netscape.com/viewsource/2002/almost-standards/ http://devedge.netscape.com/viewsource/2002/img-table/ http://www.mozilla.org/docs/web-developer/quirks/ Dan Willemsen On Sat, 2003-10-11 at 15:58, Bruce Tennant wrote: > Using the HTMLMenu example, I ran through the different DTDs and here > is a summary of what I found. > > When IE fails, the top menu is displayed correctly, but the sub menus > collapse and go up rather than down. > > When Mozilla fails, the top menu collapses and makes it hard to see > what the sub menus do. My guess is collapse and jump off to the far > left. > > > ##### Works in IE and Mozilla > ######################################## > No DTD given (both in default modes (quirks mode)) > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > > ##### Works in IE and NOT Mozilla > ######################################## > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <!DOCTYPE HTML PUBLIC "ISO/IEC 15445:2000//DTD HTML//EN"> > > <!DOCTYPE HTML PUBLIC "ISO/IEC 15445:1999//DTD HTML//EN"> > > ##### Works in Mozilla and NOT IE > ######################################## > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > > > ##### Does NOT Work in Mozilla or IE > ######################################## > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" > "http://www.w3.org/TR/html4/strict.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.01 Transitional//EN" > > "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > <!DOCTYPE HTML PUBLIC "ISO/IEC 15445:2000//DTD HyperText Markup > Language//EN"> > > <!DOCTYPE HTML PUBLIC "ISO/IEC 15445:1999//DTD HyperText Markup > Language//EN"> -- Dan Willemsen <dy...@da...> |