Sent by Sander_Maréchal on 25 February 2005 21:09
James Yates wrote:
> Now I feel insanely stupid. I swear I did have the stated problems.
> But now am goofing off, removing the
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
> <?xml version="1.0" encoding="iso-8859-1"?>
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
> and replacing it with other stuff with no adverse affects on the popup
> box in IE and FF.
I'll take a stab at explaining it:
<?xml version="1.0" encoding="iso-8859-1"?>
should go before the doctype declaration if you want to validate.
However, IE doesn't understand the XML declaration (if it appears at the
top) and thus falls back in quirksmode. Removing it and replacing it
with another doctype made IE render in standards mode again, hence it
now renders correctly.
--
Sander Maréchal
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/