16 a
= a
=="200px" ? "350px" : "200px";
17 document
.getElementById("d").style
.width
=a
;
18 document
.getElementById("d").style
.height
=a
;
24 s
+= "col 1: " + document
.getElementById("c1").offsetWidth
+ "\n";
25 s
+= "col 2: " + document
.getElementById("c2").offsetWidth
+ "\n";
26 s
+= "col 3: " + document
.getElementById("c3").offsetWidth
+ "\n";
27 s
+= "row 1: " + document
.getElementById("r1").offsetHeight
+ "\n";
28 s
+= "row 2: " + document
.getElementById("r2").offsetHeight
+ "\n";
29 s
+= "row 3: " + document
.getElementById("r3").offsetHeight
+ "\n";
38 <td id=
"c1">col
1</td>
39 <td width=
"50" id=
"c2">col
2</td>
40 <td id=
"c3">col
3</td>
43 <td id=
"r1">row
1</td>
44 <td rowspan=
3 colspan=
3>
45 <div id=
"d">tjosan
</div>
49 <td height=
"50" id=
"r2">row
2</td>
52 <td id=
"r3">row
3</td>
55 <input type=
"button" onClick=
"f();" value=
"expand">
56 <input type=
"button" onClick=
"t();" value=
"sizes">