Question

On some sites I'm developing, I noticed that the 'Compatibility View' button is shown beside the address bar. Yet when I view other websites, this button is not always available to me.

What determines whether or not this button is shown to the user? Does it have to do with the <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> header tag?

(Screenshot below of what I'm talking about)


alt text http://img380.imageshack.us/img380/4858/compatabilitybutton.png

Was it helpful?

Solution

It turns out the only thing that affects this is indeed the <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> tag.

Note from the MSDN page on document compatibility: This tag must appear in the <head> section of your code before any other tags except the <title> tag.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top