Loading ...
Sorry, an error occurred while loading the content.

2760Dom.getStyle and image sizing in IE

Expand Messages
  • jessekeller
    Jul 4 10:51 AM
    • 0 Attachment
      I'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?

    • Show all 2 messages in this topic