blob: c526350dd5e22d8ea590f7584cf0f4381b622779 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>This is a title</title>
<script type="text/javascript">
function test1() {
var e1 = document.getElementById("myTd");
e1.style.width = 300;
var e2 = document.getElementById("table");
}
function test2() {
var e1 = document.getElementById("myTd");
e1.style.width = 300;
var e2 = document.getElementById("table");
e2.style.display = 'none';
e2.style.display = '';
}
</script>
</head>
<body onload=test1()>
<table id="table" cellspacing=0 border=3>
<tr>
<td>fieldLabel</td>
<td id="myTd">&nbsp;&nbsp;&nbsp;InspectionText</td>
</tr>
</table>
<form action="">
<input type="button" value="change width" onclick="test1()">
<input type="button" value="change width with table reflow"
onclick="test2()">
</form>
</body>
</html>