@ndyB wrote:
Quote:
My question, or rather questions are; what dose <?xml version="1.0"
encoding=""?> do to sort this out?
And, can I reconfigure Dreamweaver to automatically put the <?xml
version="1.0" encoding=""?> line in my code when I ether convert or create
from new an XHTML document.
Big thanks,
@ndyB |
Its an xml prolog, xhtml its part xml part html, i dont recall exactly
but xhtml only needs the xml prolog when the enconding its not the usual
(utf-8 if i recall correctly), but there should be no problems when
you use the prolog.
The problem you are seeing i dont know if is a bug or a implementation
by microsoft but IE6 goes into quirks mode when it sees the prolog, and
that is why your page is *not* working correctly with it, you are using
code that its no standard (height in tables, css on scrollbars) and
seeing the page without the prolog is actually displaying the page the
way it should be and like every other compliant browser is actually
displaying it.
I almost never use the convert to xhml command, but i thing if you edit
the default.html file inside the configuration folder and add the xml
prolog it should appear the next time you create a new xhtml document,
but im not sure though.
--
Juan Zamudio
Professionals are predictable but the world is full of dangerous amateurs.