2760Dom.getStyle and image sizing in IE
- Jul 4, 2006I'm trying to find out (then maybe change) the dimensions of an image.
But IE seems to give very different answers to the question "how big
is this image", depending on whether the image is in cache or not. I
was hoping YAHOO.util.Dom.getStyle('myImg', 'width') would get around
the problem, but apparently not.
Anybody know how to reliably find out the actual (unscaled) size of an
image loaded using document.createElement() in IE?
- Next post in topic >>