like so
<body onload="resizeTo(300,400)">
where 300 is the width and 400 is the height of the window
Hello Cnet world - I am trying to create a home page for a new website that opens the IE browser so that it just fits the page content. The behavior I'm looking for is:
- I enter the URL for my web page in the Address window of the browser (not an href link from an open web page)
- My web page opens in the same browser and adjusts its size to fit the content of my page.
This is the behavior I see for many web pages but I can't find the right html or js to make it happen. Setting the <body TOPMARGIN="0" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" doesn't do it.
Thanks

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic