Forum Moderators: open
Some references regarding <!doctype> switching and character encoding:
[opera.com ]
[gutfeldt.ch ]
[mozilla.org ]
...And the primary source: [w3.org ]
In an XML document, the character encoding of the document is specified on the XML declaration (e.g., <?xml version="1.0" encoding="EUC-JP"?>).
I personally do not include a <meta> character encoding statement as it is handled by the opening
XML declaration. You CAN use both, BUT the XML declaration takes precedence... Either case likely points to the answer.
I also keep the opening XML declaration... opening! That is, I don't place it elsewhere in the head content to avoid Quirk Mode. Rather, I code with Quirk vs. Standards implications in mind and mostly avoid them. Those that may be unavoidable (due to chosen design) have minimal effect and do not break the layout.
How are you all doing? Nice to see you guys! I missed ya!
Apparently Opera 7 and Mozilla cause the browsers to go into quirks mode when the xml is declaration is present with xhtml transitional. Mozilla does not, it goes to std mode.
Opera 7 says it increases default font sizes one size when going into quirks mode. I am not sure about what IE says it does, but it appears to do the same.
Thanks again for the help. Much appreciated.