IE 6 detect message


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <!--[if IE 6]>
  2.  
  3. <div id="ie6-warning">
  4. Your browser appears to be Internet Explorer 6. It is an obsolete browser and may not display correctly on modern websites, therefore it is recommended that you update it. Quick to install, you can <a href=”http://www.microsoft.com/windows/internet-explorer/default.aspx”>download the newest version here</a>.
  5. </div>
  6.  
  7. <style type="text/css">
  8. #ie6-warning {
  9. background: #FFFF00;
  10. border: 2px #CC0000;
  11. color: #000000;
  12. width: 855px;
  13. padding: 10px;
  14. font-size: 15px;
  15. margin-left: 50px;
  16. }
  17. #ie6-warning a {
  18. text-decoration: none;
  19. }
  20. </style>

URL: http://formingweb.com/blog/?p=50

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.