On Fri, 3 Apr 2009 09:29:57 +0000 (UTC), "Janine_Trumel"
<webforumsuser (AT) macromedia (DOT) com> wrote:
Quote:
Sorry, I cant quite see why the first line of code is causing the problem. |
Regarding the XML declaration that Nancy suggested omitting, the XHTML
specs suggest using the line, but it is not required if the page uses
either UTF-8 or UTF-16 character encoding. See
http://www.w3.org/TR/xhtml1/#strict where is says in part, "An XML
declaration is not required in all XML documents; however XHTML document
authors are strongly encouraged to use XML declarations in all their
documents. Such a declaration is required when the character encoding of
the document is other than the default UTF-8 or UTF-16 and no encoding was
determined by a higher-level protocol."
IE only pays attention to the DOCTYPE if it is the very first thing in the
page. Put anything before the doctype and IE will drop to quirks mode.
That's just an IE bug that you'll have to live with.
Gary