This article focuses on how to use IE7.JS to solve IE compatibility issues. IE7.JS is a JavaScript library used to make the old IE browser (IE5, IE6) conform to WEB standards to solve IE compatibility issues. It can also solve the problem that the transparent effect of PNG images cannot be displayed normally under IE5 or IE6.
IE7.JS solves IE compatibility issues
IE7.JS is a JavaScript library used to make the old-fashioned IE browser (IE5, IE6) Comply with WEB standards to solve IE compatibility issues. It can also solve the problem that the transparent effect of PNG images cannot be displayed normally under IE5 or IE6.
Usage:
Recommended to make IE5 and IE6 compatible with the IE7 Mode)
- <!–[ifltIE7]>
- <scriptsrcscriptsrc=
- ”http://ie7-js.googlecode.com/svn/version/2.0
- (beta3)/IE7.js”type=”text/javascript”>
- </script>
- <![endif]–>
Make IE5, IE6, and IE7 compatible with IE8 Mode
- <!–[ifltIE8]>
- <scriptsrcscriptsrc=
- ”http://ie7-js.googlecode.com/svn/version/2.0(beta3)
- /IE8.js”type=”text/javascript”>
- </script>
- <![endif]–>
-
IE7.JS solves PNG display problems
You only need to name the transparent png image as * -trans.png
Note that this method does not play any role in background-repeat and background-position.
Http://code.google.com/p/ie7-js/
Demo address: http://ie7-js.googlecode.com/svn/test/index.html
Appendix: Solutions for IE8 compatibility, and methods for downgrading IE8 to IE7
- <metahttp-equivmetahttp-equiv=“X-UA-Compatible”
- content=“IE=EmulateIE7″/>
-