문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top