> I have this script that gives the expected result in IE 4.x and 5.x but does > not work in Netscape Navigator 4.08. > var sw = screen.width; > var sh = screen.height; Hi, for NS, you should use window.innerWidth window.innerHeight HTH Peter