<html> | |
<head> | |
<title>Test Page dom test bug 102145a</title> | |
<script language="JavaScript"> | |
function setElementSize (elementId) { | |
myElement = document.getElementById(elementId); | |
myElement.style.height =200; | |
myElement.width = 200;} | |
</script> | |
</head> | |
<body onload="setElementSize('mytable')"> | |
<table id="mytable" width="100%"><tr><td style="background-color:green"> | |
I should be 200px x 200px | |
</td></tr></table> | |
</body> | |
</html> | |