I have an image with a class and the class defines a clip rectangle.
In Firefox 2 and 3, and Opera 9, I can access the rectangle with
document.defaul tView.getComput edStyle().
But that doesn't seem to work in Safari for Windows 3, nor when I use
image.currentSt yle.clip in IE 7.
Is there a way to do this in those browsers? Am I doing something stupid?
Toy example here, where I can get the class position but not the clip value:
In Firefox 2 and 3, and Opera 9, I can access the rectangle with
document.defaul tView.getComput edStyle().
But that doesn't seem to work in Safari for Windows 3, nor when I use
image.currentSt yle.clip in IE 7.
Is there a way to do this in those browsers? Am I doing something stupid?
Toy example here, where I can get the class position but not the clip value:
Comment