i have a gallery page where it became necessary to create pop ups for each thumbnail, and each pop up window needed to fit the image exactly. so i used this little script below. (i know the sizes are the same for I.E. and other browsers, but that was the only way i could get this to work) it works great in Netscape, 100%, and all most works great in I.E., but, for some reason it will not recognize a width below a certain length, for example the size i have below is too narrow and the window defaults to a seemingly random smallest width, thus the image is hugged by the window on all sides except the right side. this small pillar of extra space on the right side of my pop up images in I.E. os driving me mad. please help me. thanks.
<SCRIPT LANGUAGE="Javascript">
if ( document.all )
window.resizeTo(277,500); // IE size
else
window.resizeTo(277,500); // others
</SCRIPT>
<SCRIPT LANGUAGE="Javascript">
if ( document.all )
window.resizeTo(277,500); // IE size
else
window.resizeTo(277,500); // others
</SCRIPT>