This is just a bit of fun really. For all the CSS IE hating geeks out there. lol "A Japanese blogger who goes by the name Hamachiya2 has discovered a single line of HTML and CSS that crashes IE 6. The line is: Code: <style>*{position:relative}</style><table><input></table> Code (markup): If you’re brave, you can click here to try it out. The code is rendered correctly in Firefox, Safari and Opera (didn’t get a chance to try any other browsers, but presumably they work too). But in IE 6 it raises a fatal error in mshtml.dll." Source Links: http://www.noddegamra.co.uk/forum/general-discussion/crash-ie6-with-one-line-of-code/0/ http://immike.net/blog/2007/08/06/single-line-of-html-crashes-ie-6/
I agree it is kinda stupid, but that's not the point. This is purely for entertainment. One of the biggest gripes amongst web designers is how IE renders CSS differently (and incorrectly) compared to browsers such as FireFox. This is just a line of code that exploits that. Funny for web designers, programmers, web geeks, but I guess not so much fun for general public
In my honest opinion, place a warning on the homepage of the site warning that IE6 is a unacceptable browser for the site, and tell people to download firefox. Add the code and watch your visitors drop slightly and get rid of IE6 users from the site. Rob
* html { height:100%; } * html body { background:url(omg.jpg) no-repeat center center; } and omg.jpg is an MS-like message saying there's a new virus and IE6 is vulnerable, so the user has to upgrade his browser to IE7 or switch