Is it possible to set width or height of HTML element (ex. ) in JavaScript in Standards Mode? Note the following code:
) in JavaScript in Standards Mode? Note the following code:
Note the following code:
Try declaring the unit of width:
e1.style.width = "400px"; // width in PIXELS