How to: Kill IE6 on your WordPress blog

October 23, 2008 at 9:22 pm

Who doesn’t hate IE6? This obsolete browser is a pain for any web developer or designer. If you really hate Internet Explorer 6, read this recipe and you’ll know how to make it crash if someone who uses it tries to read your blog.

Get ready to say goodbye to IE6. Open your header.php file and paste the following code anywhere within the <head> and </head> tags:

<!--[if lte IE 6]>
<STYLE>@;/*
<![endif]-->

Any courageous IE6 user who’ll try to read your blog will get an instantaneous crash. Not very nice, but damn funny :p

Tags: