IE will go into standards mode if it simply sees the string [font=courier]<!DOCTYPE[/font] at the very beginning of a document. No joke. It doesn’t even read the external DTD information or even care what version of HTML or XHTML you’re using. Take for example:
[code]<html>
<head>
<title>untitled</title>
<meta http-equiv=”content-type” content=”text/html; charset=utf-8″>
<style type=”text/css”>
div {
width: 50%;
margin: 0 auto;
border: solid #000 1px;
background: #eee;
padding: 1em;
}
</style>
</head>
<body>
<div>test</div>
</body>
</html>
Notice the omission of the DOCTYPE. This [i]will not
[code]<!DOCTYPE IE-SUCKS-HARDCORE>
Let me know what happens. :rolleyes: