Forum Moderators: open
<img class="ImageClass" id="image1" src="images/image1.jpg" height="300" width="400">
ImageClass simply has {display:none;}. With JavaScript, I can access this image with document.getElementById("image1"), but in IE 5.5+, the height and width are returned as 0, not the values I've specified on the image tag. This works correctly in Mozilla and Firefox. The only thing I can think of is that, since I have display:none, IE is forcing the properties to 0. How can get around this? I really need to get access to the specified height/width so I can dynamically scale the image...
Thanks!
Thanks.