I for some reason am calling a doctype preferably XHTML 1.0 Transitional, and for some reason every single time I open it in Internet Explorer I get…
Browser Mode: IE9 Compat View
Document Mode: IE7 Standards
I’ll even include what my doctype looks like with the beginning of my head tags:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
And yes, I do close <body> and <html>.
Any ideas?
Here’s the documentation you are looking for:
http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx
Include this and IE will render as in IE9 mode: