Let's help send Internet Explorer 6 to history

01.03.2011
kill_ie6

If you're a developer and your sites don't have an IE6 stub in that, then you're not helping to abandon older technologies, in this case, the IE6 browser. It is not necessary to put a stub that blocks the content of the page so that the user cannot view the content at all, but it would not hurt to constantly remind the user and push that it's time, it's time to update your Internet life (of course, I mean refresh the browser). I offer a variant of my stub .

Conditional comments will help us display this div only for ie6.

The code is inserted into the index.html file between ‹head›stub‹/head›

The code itself:

‹!--[if IE 6]›

‹div style="display:block;position:repative;z-index:999;left:0;top:0;width:99%;margin:auto;background:#eee;border:1px solid #333;padding: 5px;color:red;"›

Attention, Dear user! You are using ‹strong›the legacy browser Internet Explorer 6‹/strong›. Continued use of this browser carries a high risk of virus infection on your computer and you may not be able to fully evaluate the operation of this site. To make your browsing experience more convenient and secure, we recommend that you install

‹a style="color:#444;font-size:20px;text-decoration:underline;" href="http://www.microsoft.com/eng/windows/internet-explorer/"›Internet Explorer 8 ‹img src="images/IE8.png" alt="ie8" /›

‹/a›

‹/div›

‹![endif]--›

ie8 - IE8.png picture

Last in our blog

Internet Marketing
04.11.2019