IE8 beta1 has been released, and we can see many new features. For example, Layout Engine "completely" supports css2.1 and HTML 5, so it is different from the layout engine used by IE browser, the previous IE browser does not fully comply with Internet standards. In this way, new problems exist. Currently, normal web pages in IE7 may encounter problems in IE8.
Microsoft provides three page resolution modes in IE8
IE8 standard modes: the default most standard mode, which strictly complies with W3C rules
IE7 standards modes: The current webpage resolution mode used by IE7, to open the server, add <meta http-equiv = "X-UA-compatible" content = "Ie = 7">
Quirks modes: the parsing webpage mode used by ie5. To enable this mode, delete the doctype statement at the top of HTML.
Note: webpages in different modes can frame each other in IE8. Therefore, Dom and CSS rendering in non-mode are different, which may cause many problems.
If your page is compatible with IE7, and you do not want to modify the existingCodeAnd can be used normally in IE8. Microsoft claims that developers only need to add a line of code on the websites currently compatible with IE7 to solve the problem. The Code is as follows:
Quote:
<Meta http-equiv = "X-UA-compatible" content = "Ie = 7"/>