Though an experienced programmer, I'm a Javasript beginner!
The code below is not complete. I'm just trying to get the values, and afterward I'll use them to resize my image. Please help me find out why this code tests ok in Chrome but shows "undefined" values in IE.
<body style="color:white;" onload="Resize()">
[QUOTE=007Julien;1289539]Don't use document.write after the page is loaded !
Try this (it's not easy to see withe color text on white background !)
BUT... IE (I use IE 8) keeps returning "undefined" for "document.width" and "document.height". Image width and height are ok. Image "hspace" and "vspace" are returned as 0 (zero), though they have a positive value.