How to set html page size attributes

Reply

Join Date: Mar 2006
Posts: 2
Reputation: tiffythom is an unknown quantity at this point 
Solved Threads: 0
tiffythom tiffythom is offline Offline
Newbie Poster

How to set html page size attributes

 
0
  #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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How to set html page size attributes

 
0
  #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 Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: How to set html page size attributes

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

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC