490182-1b.html (524B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <script type="text/javascript"> 5 function boom() 6 { 7 var col1 = document.createElement("col"); 8 col1.setAttribute("width", "100"); 9 var next = document.getElementById("col2"); 10 11 next.parentNode.insertBefore(col1, next); 12 reflow(); 13 col1.removeAttribute("width"); 14 } 15 16 function reflow() { document.documentElement.offsetHeight; } 17 18 </script> 19 </head> 20 <body onload="boom();"> 21 <table border="2" id="table"> 22 <col width=200 id="col2"> 23 <tr> 24 <td>100?</td><td>200</td> 25 </tr> 26 </table> 27 </BODY> 28 </HTML>