I found this in my wp template header: <script type="text/javascript"> function die_fucking_ie_die() { var myId; if (navigator.appName.indexOf("Microsoft")!=-1) { myId = document.getElementById("menu-left"); if (myId) { myId.style.width = "200px"; } myId = document.getElementById("content"); if (myId) { myId.style.width = "570px"; } } } </script> What a hell is this function function die_fucking_ie_die?
I think the theme author was pissed off at IE's browser bugs when coding that into the theme. Most likely it fixes an IE bug so that the theme displays properly in all browsers. (In other words, it's just a normal part of web design.) Funny stuff
that's exactly what it is...we WP themers and XHTML designers hate IE because we always have to find fixes for that stupid piss poor browser so that our work is cross-browser compatible
OK well the function works out if the user is using Microsoft Internet Explorer, if this is the case it then: Changes the width of the element menu-left to 200px Changes the width of the element content to 570px That's all it does, it isn't anything bad probably you will have to view it and see if these widths are correct or not. The other problem is it requires the user to have JS installed, which is likely but the odd person may have it disabled.
It's code to fix the way IE displays box widths, which breaks the CSS: http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug
Yup, it's a code fix. Nothing to worry about. Just a programmer being mad that he or she has to do things special for IE. It happens to all of us.