5 var cell2
= document
.getElementById("cell2");
6 cell2
.setAttribute("style", "border:2px solid green;display:none;width:0%;");
9 var cell2
= document
.getElementById("cell2");
10 cell2
.setAttribute("style", "border:2px solid green;display:normal;width:33%;");
14 <body onload=
"hide()">
17 <td width=
"33%" style=
"border: 2px solid red;">
20 <td id=
"cell2" style=
"border:2px solid green;width:33%;">
23 <td width=
"*" style=
"border: 2px solid blue;">
24 Cell
3 (width=*) - should be
67% when cell
2 is hidden,
33% when cell
2 is visible.