HighDots Forums  

Re: Problems with XHTML

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Problems with XHTML in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Juan Zamudio
 
Posts: n/a

Default Re: Problems with XHTML - 07-01-2004 , 08:14 AM






@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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.