Internet Explorer 6 must be killed off!

Posted on Monday, July 6th, 2009 at 11:24 am

I am sure many out there that develop web sites have had the annoying need to keep tweaking styles and code for Internet Explorer 6 (ie6), I know I have and enough is enough.

There has to be a time where web developers must make a stand and say no more.Β  For me this is now, I feel people have had more than enough time to update to a better browser and for those that still use ie6 (or less) then they need to be told to update.

My reasons are simple, I have better things to do with my time than to keep trying to tweak web sites to suit a smaller group that continue to choose not to update their web browser.Β  There are many other obviouse reasons that if your nodding your heading you are already aware of, if not then go and read up on why by doing a Google search for ie6 hacks…

So how do we do this, it is simple really we add a message for ie6 users only to the top of your web page, something like this;

<!--[if lte IE 6]>
   <div class="ie6message"><img src="images/noie6.png" width="577" height="109"
alt="EEK! you're still using Internet Explorer 6!" /><br />
   <span class="ie6text">We are sorry but we do not support Internet Explorer 6 (IE6).<br />
   Please update to a newer web browser and start experiencing what the internet can really
show you.</span><br />
   <span class="ie6text">Please download, install and use one of the following browsers;<br />
   <ul><li><a href="http://www.google.com/chrome/" target="_blank">Google Chrome</a> (<strong>recommended</strong>)</li>
<li><a href="http://en-gb.www.mozilla.com/en-GB/" target="_blank">
Firefox 3.x</a></li>
   <li><a href="http://www.microsoft.com/windows/internet-explorer/ie7/"
target="_blank">Internet Explorer 7</a></li>
   <li><a href="http://www.microsoft.com/windows/internet-explorer/default.aspx"
target="_blank">Internet Explorer 8</a></li>
   <li><a href="http://www.apple.com/safari/" target="_blank">Safari</a></li>
   <li><a href="http://www.opera.com/" target="_blank">Opera 9</a></li>
</ul></span></div>
<![endif]-->

Of course you will need to use your own noie6 image file or you can download this one

noie6

You will need to add some css styling for this message to your style sheet, here is what I have used (and this is simply for ie6)

.ie6message {
font:Arial, Helvetica, sans-serif;
width:600px;
text-align: center;
margin:20px auto;
padding:12px;
background-color:#FFF;
border: 10px solid gray;
color:black;
}
.ie6message a {
color:blue;
}
span.ie6text {
text-align:left;
font-size: 18px;
}
span.ie6text ul {
margin-left: 15px;
}
span.ie6text li {
list-style: disc inside none;
}

The result is something like this;

EEK!

We are sorry but we do not support Internet Explorer 6 (IE6).
Please update to a newer web browser and start experiencing what the internet can really show you.

Please download, install and use one of the following browsers;

The more people do this and make it clear that ie6 is no longer a supported web browser the more people will move away from it.Β  If we keep creating ie6 specific style sheets and other code just so ie6 users can browse the web then we will never be rid of it.

So help me and many other web developers and add the code above to your web page and let every ie6 user know it is time they updated to a newer web browser.

Share

9 Responses to “Internet Explorer 6 must be killed off!”

  1. John Says:

    At the risk of being pedantic, that should be “You’re” not “Your”.

    (And I’d add Opera to that list too.)

  2. Greg Says:

    Oops ;P – thanks I have fixed that now πŸ™‚

  3. Marlon Says:

    Internet Explorer 8 is really good. This browser is very very stable and i have been using it for quite a while without blue screens or crashes.

  4. Greg Says:

    I have tried IE8 a number of times but simply cannot get use to the way it works, I still find Firefox far better, but that is more of a personal opinion.

  5. Mad Morro Says:

    I disagree on the fact that IE8 is by any standards a good browser, in fact i’d go as far as saying none of the IE were any good… sorry to offend anyone.

    I’d recommend Firefox, reasons? Faster and more Secure πŸ™‚ Firefox 3.6 is out now πŸ™‚ go get it lol

  6. Greg Says:

    While I agree and prefer Firefox myself, I have at times had issues with Firefox, even the latest 3.6. In fact I have some sites I use Google Chrome for because Firefox is too damn slow, e.g. Zazzle. Internet Explorer is as we know not standards compliant, however it has improved greatly and if a persons wants to and prefers IE, then at least use IE8 πŸ™‚

  7. Chuck Taylor Says:

    I found this by accident -but- I will blatantly advertise it on my site. I use Linux most of the time -but- I run various forms of Windows inside VMware. I am still a Homesite hang on and I was using Win2k as the base for my Homesite operations. Been doing it for years and having ALL the troubles with IE6. Now I am trying to bring myself and my site up to “Good CSS and XHTML” etc… Homesite like most of the other HTML editors, uses the default Browser. In my case with Win2K was/is IE6. Found some really good Templates out on the Web. One in particular I wanted to setup for my Lord’s Page. Don’t think my current one is all that great. In case you or anyone else is interested in what I found it is at:
    http://www.thewebhub.com/2008/11/lightspeed/.
    The big problem I ran into here was PNG. Seems that IE6 doesn’t understand them. Then I found that IE7 won’t work in Win2K. Ouch!! So, I decided that my IE6 efforts must retire and I must move to Win7… and IE8. In all my Web searching I found this site and I will be putting it in my “New” pages, some of which will look just like the old … but updated. Thanks for this and I may expand on it. I’m still partial to Firefox so I will probably change the recommendation. I am also working with the writer of a fine Sitemap Geneartor and I am recommending this site to him. It can be found at:
    http://www.microsystools.com/products/sitemap-generator/help/sitemap-generator-download-install/
    if anyone is interested. I am trying to incorporate a graphic version in his Sitemap. This also came from someone else at:
    http://astuteo.com/slickmap/
    He also complains about IE6 and I do believe it is mainly cause he is using PNG to draw the connecting lines. It is some really slick CSS. You all might want to check it out just for that.
    Oh, and to any newbies -or- old absent minded farts like me, don’t make the same mistake I made. The file I initially tested this with has a:
    <div id=”content”>
    at the top. I placed the IE6 check code ‘before’ it. Then spent a couple of hours trying to figure out why it didn’t work. Just as I was about to complain the light went on… I moved it below that one line and it worked flawlessly!! Position can be … and is … important.
    Once again, Thanks for this piece of code.

  8. Keith Says:

    I understand how hard it is to make a website with IE6. However, if many websites end support for IE6 then people who use older operating systems will not be able to upgrade to a more recent version of Internet Explorer. For example Windows 98 does not support IE7 so they will have a hard time viewing websites.

  9. Greg Says:

    While I understand your comment and do understand there are some that still use older computers with IE6 (http://www.w3schools.com/browsers/browsers_explorer.asp) the fact is that Windows 98 is at least 14 years old. If people are still using computers that are 14 years old then it is beyond time to update. Everyday I see computers for sale that happily run Windows XP for under $100 for sale, so there really is no excuse for not updating to something a little newer. Sheesh even Windows XP is what? 8 or 9 years old? They can also keep their existing PC if they must and use Firefox 3 if they want which is still better than IE6.

    For the small number of users that do use IE6 it is simply not worth the web developers time to commit significant time to develop also for IE6, it would be far easier for them to use another web browser than us continue to cater for IE6.

Leave a Reply