I encountered a strange problem when I used extjs to make a webpage: A good page, some people seem completely normal, but it became a mess on other machines, andCodeI can't see any problems, such as the following dialog box:
On some human machines, this becomes the case:
After looking for a long time, I finally found that the reason is that IE8's strange convention: For All Intranet hosts (including localhost), it will automatically start the so-called IE7 compatibility mode, in this mode, the entire browser is like IE7, and you will see an icon in the figure FLASH: And I tested Ext. isie7 is true-that is, extjs regards it as IE7. However, the worst is that the so-called compatibility mode is not fully compatible, and the above strange phenomenon occurs. It is not difficult to solve this problem. Simply Add the following sentence to the webpage:
HTTP-equiv = " X-UA-compatible " content = " Ie = edge " />
Here, ie = edge means to allow IE to automatically adapt to the most likely version-in this way, IE8 will regard itself as IE8 without starting the compatibility mode, whether it is Intranet or Internet.
See: http://msdn.microsoft.com/en-us/library/cc288325 (vs.85). aspx