-
Is this what you're looking for?
Code:
<script language="JavaScript">
sw = screen.availWidth;
if (sw == 640) { x1 = 620; y1 = 460; };
if (sw == 800) { x1 = 765; y1 = 570; };
if (sw == 1024){ x1 = 800; y1 = 650; };
self.moveTo(10,10);
self.resizeTo(x1,y1);
</script>
-
I usually set a primary table width of about 750 pixels. That way no matter how they size the window it will still look good (even at 8*6 resolution).
Javascript to pop up a window to your site will work, but it can be annoying and not everyone will support it.
Like chsh said....css is the way to go. :)