Microsoft hates IE6 as much as the rest of us. So they've made yet another "let's finally get rid of IE6" website. All our hopes and prayers lie with them. As a bonus, they also supply some code to display a banner at the top of websites when a user has IE6:
<!--[if lt IE 7]>
<div style=' clear: both; height: 59px; padding:0 0 0 15px; position: relative;'>
<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx"><img src="http://www.ie6countdown.com/images/upgrade.jpg" border="0" height="42" width="820" alt="" /></a></div>
<![endif]-->
It's a simple conditional comment that targets browsers under IE7. After studying the code for a while I realised that it was ripe for a little "standards-based refactoring".
Future-proofing the code
It's a great effort by the Microsoft guys - but in the interests of the web-at-large I've tweaked the code slightly to be a bit more future-proof:
<!--[if IE]>
<div style=' clear: both; height: 59px; padding:0 0 0 15px; position: relative;'>
<a href="http://www.mozilla.com/en-US/firefox/"><img src="http://www.ie6countdown.com/images/upgrade.jpg" border="0" height="42" width="820" alt="" /></a></div>
<![endif]-->
Post that in the body of your site, and you should be good to go. They didn't put the original code on Github, so I don't know who to send the pull request to, but hopefully they'll get my email and update it with the changes...