08 October 2009 ~ 0 Comments

How to Scare IE Users into Upgrading with only ONE Line of Code?

Simply put:

<!--[if lt IE 7]><style type="text/css">@import url(http://www.joelevi.com/securityupdate/bar.css);</style><div id="advBrowserWarning"><a href="http://www.joelevi.com/securityupdate/securityAlert.html"><b>WARNING!!!</b> Your version of Internet Explorer has known security issues! To protect your computer please correct this now. Click here for options...</a></div><![endif]-->

This is a great idea! I just found this post that talks about a technique for scaring the crap out of IE6 users… Although is something I’m not going to apply in my websites (it’d be so funny though hahaha), it’s a pretty nice way to make them migrate to a better browser:

Check out this post here

Enjoy! and comment if you’re applying it to your website hehehe

Leave a Reply