This has a new problem, the current work in the IE7 of the Web page in the IE8 will have problems.
Microsoft offers three modes of parsing pages in IE8
IE8 Standard Modes: The default of the most standard mode, strictly in accordance with the relevant rules of the Consortium
IE7 Standards MODES:IE7 is now used to parse the Web page of the model, open the organization is in the join
Quirks MODES:IE5 used to parse the model of the Web page, the open authority is to delete the HTML top of the DOCTYPE declaration
Note: Pages in different modes can frame each other in the IE8, so there are many problems caused by the difference between DOM and CSS rendering in no mode, so it is important to note
If your page is IE7 compatible, and you don't want to make a lot of changes to existing code, and you can use it in IE8, Microsoft claims that developers just need to add a line of code to the currently compatible IE7 Web site to solve the problem, as follows:
Copy Code code as follows:
<meta http-equiv= "x-ua-compatible" content= "ie=7"/>