Doc Type Commented in Internet Explorer 7

I noticed some strange behavior using CMS. Doctype is commented out in Internet Explorer 7 (IE9 in IE7 standards mode). See the attached image:

http://img838.imageshack.us/img838/1014/capturegyz.png

I think this causes a few other errors that I have in CSS and JavaScript (jQuery).

Does anyone know anything that will cause this behavior.

The doctrine I use:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
+5
source share
1 answer

Once DOCTYPE determines whether to use Quirks mode (e.g. IE5.5) or a little more standard (IE7 mode), DOCTYPE is no longer of interest to the browser.

, IE7 ( ) doctype DOM, .

, . JavaScript DOM, .

0

All Articles