I like to show images on the blog via a link that opens the image in a new window, which is sized to the image. I have a small javascript that does exactly what I want it to do, and in Safari and Camino it works flawlessly. In IE, though it also works, it displays a window with padding on the top and left of the picture, pushing the picture down and to the right. This is the "default" behavior of IE or so I've been told. The javascript is as follows:
CODE
<a title="XXX" onclick="window.open('http://www.sitename.com/xxx.jpg','height=###,width=###');return false" href="#">link to image</a>
Is there a setting that one can add to the javascript or to the stylesheet that will prevent or compensate for this padding? Is there a more elegant way of handling this situation through MT or any other method?
I would love to hear any advice.
Thanks,
mrb