How do I set page size in a browser

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to set a web page to be displayed in a browser window sized 153px
X 600px. Setting page size seems to only represent what you see in Frontpage
and not in Internet Explorer when opening it?
Any Suggestions?
 
It sounds like you are trying to create a pop-up. There are
javascripts available which can do this, or you could use
SPAWN from Jimco-www.jimcoaddins.com


:I am trying to set a web page to be displayed in a browser
window sized 153px
: X 600px. Setting page size seems to only represent what
you see in Frontpage
: and not in Internet Explorer when opening it?
: Any Suggestions?
 
I am actually using this script, but it resets the size depending up the
users screen resolution.

<!--
function pleaseResize()
{
window.event.returnValue=true;
top.window.resizeTo(screen.availWidth,screen.availHeight);
top.window.resizeTo(screen.availWidth-1,screen.availHeight-1);
}


I want it to be able to set the size 153X600

Thank you.,
 
What would it do to my 1280 x 1024 screen with a browser window at about
720px wide (that's where I like it)?
 
I think you are going to run into Windows XP SP2 restrictions, if you trigger this on page load,
also users may have a issue with you resizing their browser, even with the code below.

To work around this you need to make is so that it is trigger by a user's action of clicking on a
link, which would then call the JavaScript function to create a new popup windows at the 153 x 600
pixels.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Then put everything in a table with these dimensions (though height is not
really supported in a table). HTML makes no provision for setting the size
of a page but placing everything in a one cell table should work.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
Back
Top