Single Line Of HTML Code Crashes IE6

7 08 2007

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:

<style>*{position:relative}</style><table><input></table>

If you’re brave, you can copy that line of code in Notepad and save the document as an .htm file. Then open it in IE using the File > Open option.  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.


Actions

Information

Leave a comment