views:

127

answers:

1

I am currently using an XHTML 1.0 transitional doctype on my vBulletin website. The page in question is PHP. The source (view source) of this page verifies that the XHTML 1.0 transitional doctype is on the page. Upon downloading (File > Save As) the page in IE8, I realized that my doctype had been replaced with an HTML 4.0 transitional doctype.

Why does IE8 change the doctype?

Why isn't the doctype its chosen displayed in the "View Source"?

+1  A: 

The answer lies in the global vBulletin options menu.

vBulletin Options -> Cookie and HTTP Header Options -> Send Internet Explorer 7 Compatibility Header (Yes/No)

Disabling that will prevent IE8 from rendering as IE7, and from using the 4.0 HTML transitional doctype.