User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 423,011 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,976 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 20860 | Replies: 2
Reply
Join Date: Mar 2006
Posts: 2
Reputation: tiffythom is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tiffythom tiffythom is offline Offline
Newbie Poster

How to set html page size attributes

  #1  
Aug 16th, 2006
I need to know how to set an html page to only open at a set size. I had learned this in my basic htm code class a long time ago but have forgotten and can't seem to find any instructions about how to do this.

I have dreamweaver 8 but am pretty new in the software and can't seem to find any help in the Help section

Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How to set html page size attributes

  #2  
Aug 17th, 2006
There is no such thing as a "page size" in HTML. The user can size their browser to any size they wish. That's as it should be.

JavaScript does provide, however, a window.resize() method. Using it creates a very negative user experience. The only way I've seen this work well is for your main page to open a new window, and size the new window. Use the window.open() method.
Reply With Quote  
Join Date: Jun 2004
Location: Hemet, CA
Posts: 429
Reputation: FC Jamison is on a distinguished road 
Rep Power: 5
Solved Threads: 18
Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: How to set html page size attributes

  #3  
Aug 18th, 2006
Javascript can only size or resize a window that has been opened with javascript.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 4:00 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC