E6 is getting outdated and the latest web designs donot look well in IE6. You may add this small javscript snippet in your web pages to show a warning message to the viewers to upgrade their browsers. The user can also close this message. Warning message will not be displayed in other browsers than IE6. The snippet is shown with the whole html page.

.html page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title>IE6 Upgrade warning using javascript</title>
 <script type="text/javascript">

 function hidewarning(ie6warning)


 var exdate=new Date();

 ie6warning.style.display = "none";




 <script type="text/javascript" language="javascript">

 var b_version=navigator.appVersion;
 var Browser = new RegExp("MSIE 6.0");
 var browserIE6=Browser.test(b_version);

 if (browserIE6)

 document.write('<div id="ie6warning" style="background-color:#FFF0F0; padding:2px; border: gray solid 1px;"><span>Your are currently using Internet Explorer 6. Please upgrade your browser for better user experience. You can download the latest browsers from the following links.<br/><a href="http://www.microsoft.com/Windows/internet-explorer/default.aspx" target="_blank">INTERNET EXPLORER 8</a>&nbsp;,&nbsp;<a href="http://www.opera.com/browser/" target="_blank">Opera</a>&nbsp;,&nbsp;<a href="http://www.mozilla.com/en-US/" target="_blank">FireFox</a></span><div align="right"><a href="javascript:hidewarning(ie6warning)" onmouseover="window.status=\'\';return true">x close</a></div>')



 ie6warning.style.display = "";