On Oct 26, 2:07 pm, salmobytes <Sandy.Pittendr... (AT) gmail (DOT) com> wrote:
Quote:
I like to be able to validate my code at the w3c validator. But this
may not be so practical in the DHTML context. |
Gosh. People still use the term 'DHTML'? I thought that buzzword had
died out.
It is practical, and HTML 4.01 Strict is most suitable for the vast
majority of documents authored today.
Quote:
I'm trying to learn how to make dropdown menus |
Shame.
http://www.message.uk.com/index.php?page=81 Quote:
I've also found my code behaves differently in different browsers--
depending on which DOCTYPE I decalare. For instance, <?xml version="1.0"
encoding="utf-8"?> at the start of any XHTML DOCTYPE |
The XML prolog goes before the Doctype, not "at the start of it".
It's also ill-advised by the mandatory but non-normative Appendix C of
XHTML 1.0. (Its generally best to avoid XHTML).
Quote:
flips IE6 into quirks mode. |
Another reason to avoid XHTML.
Quote:
So here is my question: for websites that do include dynamic
positioning tricks (in order to make menus work, for instance) what
is the best DOCTYPE choice? |
HTML 4.01 Strict triggers standards mode in pretty much everything
that has a standards mode.
--
David Dorward
http://dorward.me.uk/ http://blog.dorward.me.uk/