mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
22 lines
542 B
HTML
22 lines
542 B
HTML
|
<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>
|
||
|
|