Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting browser window size from drmwvr 1

Status
Not open for further replies.

james23f

Technical User
Sep 12, 2002
13
ES
I preface my question with a warning that I'm a paper type of layout designer who may have gotten himself in too deep with the Web design.

I've set up my magazines Web site, which contains four frames. One, the masthead, which will always appear at the top. Two, the navbar area, which will also always be present, on the left, below the masthead. Three, the content window, to which the navbar and other links call info.

I need to insert some code in dreamweaver or directly in the .htm file that will automatically size the browser window when people load the magazine's Web page. The dimesions should be 750 pixels wide by about 600 deep. Otherwise, the entire navbar doesn't appear. When content doesn't fit in the main content window, a scroll bar appears there. But since the initial content in that particular window always fits, unless someone has their browser sized to something ridiculous like 750 by 100. But the navbar rarely does, and no scroll bar appears.

In the interest of making the site accesible to everyone, even those with really low resolution settings for their screen, it might even make sense not to open a window that might be too large for their screen. In this case, I need to know how to put a scroll bar into the left frame (navbar). But it would need to appear on the left-hand side of the frame so that it does'nt look like it's in the middle of the page.
 
Ah, the limitations of HTML.

There is no way yet to automatically size the browser window based on screen resolution. Many designers resort to designing in tables and setting them up so that the page will "float" in the middle of the browser window depending on the resolution. However, even that fails at extreme settings.

Some really high end sites build multiple versions for different browsers and resolutions. Expensive. Web design is a series of compromises right now.

Be careful using 4 frames. Each one will load as a separate page and depending on your target demographic, the download time may be too high. Peace
BT
 
Found something that might fit what you are trying to do. Check out

since they're talking netscape, I don't know how well it will carry over into IE, but it's a step in the right direction.

"It's only impossible because nobody knows how to do it yet" ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top