Resolutely resist IE6. Microsoft has declared IE6 dead ~~ Slogan @Resist IE6 and start from you and me
The more deeply you go into the Internet, the more you hate it.IE6Obviously, there are already too manyWebpageProgramEmployeeI hate IE6, but I am still confused. It is such a lazy browser with land scum that the strong user base with the cross P still hasMarket Share of 25%. (It is estimated that there are not so many statistics. This is a long time ago ~~) So many people with unknown truth are trapped in the dark. AsWeb Front-end personnelWe have the power and obligation to defend the harmony and advancement of the Internet.Start to resist IE6Right. See what are currently availableSay no to IE6.
@IE6 no more
DirectlyCodePut it in the body before it ends ~~
<! -- [If lt IE 7]> <Div style = 'border: 1px solid # f7941d; Background: # feefda; text-align: center; clear: Both; Height: 75px; position: relative; '> <Div style = 'position: absolute; Right: 3px; top: 3px; font-family: Courier New; font-weight: bold; '> <a href =' # 'onclick = 'javascript: This. parentnode. parentnode. style. display = "NONE"; return false; '> </a> </div> <Div style = 'width: 640px; margin: 0 auto; text-align: Left; padding: 0; overflow: hidden; color: black; '> <Div style = 'width: 75px; float: left; '> </Div> <Div style = 'width: 275px; float: Left; font-family: Arial, sans-serif; '> <Div style = 'font-size: 14px; font-weight: bold; margin-top: 12px; '> you are using an outdated browser </div> <Div style = 'font-size: 12px; margin-top: 6px; line-Height: 12px; '> for a better experience using this site, please upgrade to a modern Web browser. </div> <Div style = 'width: 75px; float: Left; '> <a href = 'htt P: // www.firefox.com 'target = '_ blank'> </a> </div> <Div style = 'width: 75px; float: Left;'> <a href = 'HTTP: // www.browserforthebetter.com/download.html'target = '_ blank'> </a> </Div> <Div style = 'width: 73px; float: Left; '> <a href = 'HTTP: // www.apple.com/safari/download/'target = '_ blank'> </a> </div> <Div style = 'float: Left; '> <a href = 'HTTP: // www.google.com/chrome'target = '_ blank'> </a> </div> <! [Endif] -->
As follows:
@Let's kill IE6 forever
Method: add the following code before </body> closing: <! -- [If lte ie 6]> <SCRIPT src = "http://letskillie6.googlecode.com/svn/trunk/letskillie6.zh_CN.pack.js"> </SCRIPT> <! [Endif] -->
As follows: