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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

When Browser Shrinks, Frames Mess up 1

Status
Not open for further replies.

Firehawk734

Technical User
Jan 22, 2002
155
US
Hey guys, this problem is kinda hard to explain so you just gotta see it for yourself.

If you go here:
If you shrink your browser, or go to the right side of your browser and drag it to the left , as if to shorten the width of your browser, the frames that i have on the left and right stay solid and the middle of the site gives way.

How do you get the middle to stay solid and have the left and right frames give way first when someone shrinks their browser?
 
Look at changing your frameset definition to something like this (enforces 600px wide, and splits the middle content to give a 200px high space for the navigation):

Code:
<frameset rows=&quot;*&quot; cols=&quot;*,600,*&quot; framespacing=&quot;0&quot; frameborder=&quot;no&quot; border=&quot;0&quot;>
  <frame src=&quot;Left.html&quot; name=&quot;leftFrame&quot; scrolling=&quot;NO&quot; noresize>
  <frameset rows=&quot;200,*&quot; cols=&quot;*&quot; framespacing=&quot;0&quot; frameborder=&quot;NO&quot; border=&quot;0&quot;>
      <frame src=&quot;Navigator.html&quot; name=&quot;topFrame&quot; scrolling=&quot;NO&quot; noresize >
      <frame src=&quot;Main.html&quot; name=&quot;mainFrame&quot;>
  </frameset>
  <frame src=&quot;Right.html&quot; name=&quot;rightFrame&quot; scrolling=&quot;NO&quot; noresize>
</frameset>

I lifted the code from the website URL you provided... so it ought to be a copy/paste job.

All the best,
Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top