Go Back   Computer Forums > Web Design | Website Development > Web Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 11-16-2005, 08:08 PM   #1
In Runtime
outlawstar4761's Avatar
Join Date: Jan 2005
Posts: 186
Default Html page size

I've looked all over and I can't figure this out. You know how sometimes when you click on a page the page you get directed to is a different size? (usually smaller, like a window or something). How do you do that???

outlawstar4761 is offline   Reply With Quote
Old 02-12-2006, 09:10 PM   #2
Solid State Member
Crath's Avatar
Join Date: Feb 2006
Posts: 15
Default Re: Html page size

In the <head> section:

function changeScreenSize(w,h)
window.resizeTo( w,h )

In the <body> tag:

<body onload="changeScreenSize(500,300)">


Hope this helps!
Crath is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 01:16 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0