1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
13 var td
= document
.getElementById("td1");
14 td
.style
.width
= "60px";
19 var td
= document
.getElementById("td1");
20 td
.style
.width
= "20px";
26 <input style=
"display:block;" type=
"button" onclick=
"longTD();" value=
"[Step 1] Set cell width to 60px (nothing seen)">
27 <input style=
"display:block;" type=
"button" onclick=
"shortTD();" value=
"[Step 2] Set cell width to 20px (garbage seen)">
30 <tr><td id=
"td1">1</td><td>2</td></tr>
31 <tr><td id=
"td2">2</td><td>2</td></tr>