IE6 Upgrade notification
I’ve quit designing around IE6 a long time ago. I have a contract that states that if my client needs me to design the site to work in IE6, they pay extra. For the other sites, when I suspect the target audience might use IE6, I wrote a little piece of code. It’s validated in 4.01 Strict HTML and stays out of the way of Google search results (because it’s at the bottom of the page).
Let me know if you’re using it or if you made improvements to it.
Here it is. Put the html right before the </body> tag, and the css at the bottom of your .css file.
<!–[if lt IE 7]>
<div id=”upgrade”>You are using an outdated browser. For a faster, safer surfing experience, please <a href=”http://www.microsoft.com/windows/internet-explorer/default.aspx”>upgrade for free</a>.</div>
<![endif]–>
/*-- IE6 --*/
#upgrade {
position: absolute;
top: 0;
left: 0;
width: 100%;
background-color: #ff0;
}
Tags: die-already, ie6

