Why my cod workes in Internet Explorer 6 and changes width of the layer
from 200 px to 1000 px, but in Opera 6 not?
Help to correct this problem, please.
My cod:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Ñîäåðæèìîå-Òèï" content="text/html; charset=iso-8859-1">
</head>
<body>
<div id="layer1" style="position:absolute; width:200px; height:115px; left: 125px; top: 24px; background-color: #FF0000;">
<script language="JavaScript" type="text/JavaScript">
layer1.style.width=1000;
</script>
</div>
</body>
</html>
from 200 px to 1000 px, but in Opera 6 not?
Help to correct this problem, please.
My cod:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Ñîäåðæèìîå-Òèï" content="text/html; charset=iso-8859-1">
</head>
<body>
<div id="layer1" style="position:absolute; width:200px; height:115px; left: 125px; top: 24px; background-color: #FF0000;">
<script language="JavaScript" type="text/JavaScript">
layer1.style.width=1000;
</script>
</div>
</body>
</html>