<!DOCTYPE html> <html> <body> <table bgcolor="orange" border="1"> <tr> <td>c11</td><td>c12</td><td>c13</td><td>c14</td> </tr> <tr> <td id="c21">c21</td><td colspan="0">X1</td> </tr> </table> <script> document.body.offsetWidth; c21 = document.getElementById("c21"); c21.parentNode.removeChild(c21); </script> </body> </html>