PDA

View Full Version : site view proportioned to monitor resolution


bch
12-11-2001, 10:34 AM
Just wondering how to make my site come up in a smaller window when people use different resolutions than 800x600 on their computers.

Right now I notice if I knock up the resolution to anything above 800, everything on my site becomes smaller of course, but the page still stretches the whole length of the monitor window with the content all at the top.

I have opened many sites in different resolutions and they come up in a window much smaller than the monitor.
That keeps the page looking much more proportioned.
Any ideas how to achieve this?

Thanks
bch

scoutt
12-11-2001, 10:56 AM
if you make your site open in a smaller window then the user will just hit the maximize button and contradict what you just did. so what is the point?

But if you must, it is the onload event in your body tag.

<body onload="window.resizeTo(500,300)">

not positive but I think it is soemthing like that.

bch
12-11-2001, 01:17 PM
thanks for the info
did not realize cross-posting was not allowed...
bch