View Single Post
  #2 (permalink)  
Old 07-01-2009, 08:30 PM
Richard Crowley
Newsgroup Contributor
 
Posts: n/a
Re: Pure HTML & CSS code that crashes IE7/8

"Eric Caron" wrote ...
> The following code will crash Internet Explorer. Although clearer proper
> HTML
> would not cause this issue, such could should at worst result in a poorly
> formatted page, not a full program crash.
> ****
> <html><head>
> <style type="text/css">
> #a {
> margin:0 10px 10px;
> }
> #b {
> width:100%;
> }
> </style>
> <title>IE Crasher</title>
> </head>
> <body>
> <table><tr><td>
> <div id="a">
> <form id="b">
> <input type="text" name="test"/>
> </div>
> </td><td width="1"></td></tr></table>
> </body></html>


Doesn't "crash" when you provide the missing: </form>

"Crash" in my test was IE6 displaying a blank page with hourglass cursor.
Easily closed with the window close [X] button.


Reply With Quote

 
Old 07-01-2009, 08:30 PM