Since IE6.0 is still the most mainstream browser at present, the things created often do not display well in IE7 and above browsers. Today I found a trick. Although I have not used it yet, it looks very powerful. I would like to share it with you. one time.
If it is IE7
< !–[if lt IE 7]>
< ![endif]–>
If it is IE8
< !–[if lt IE 8]>
< ![endif]–>
It’s simple, you may have seen it. This is a project on Google Code. It is fast and does not occupy your bandwidth. Not bad, right?
Note: If you want to support the entire IE series, just use the IE8 one. There is no need to repeatedly add the IE7 code.