Google Answers Logo
View Question
Q: Web Site Frames ( Answered 5 out of 5 stars,   1 Comment )
Subject: Web Site Frames
Category: Computers > Programming
Asked by: galgal1-ga
List Price: $10.00
Posted: 28 Jul 2003 16:04 PDT
Expires: 27 Aug 2003 16:04 PDT
Question ID: 236305
I have a web site in contruction but I ran into a problem.My problem
is that whenever someone opens my website in a diffret size window the
the frame that has the banner at the top of my web site becomes
smaller or bigger and in both cases I don't like what happens. If it
is smaller the buttons (at the bottom of the banner) hide under the
other frames and you can't see them or the banner is left with to much
space. My question is what can I do so that the frame stays the same
size no matter how big or small the window is. You can look at my
front page at and you will see what I am talking
about if you resize the window.

Thank you and have a wonderful day!
Subject: Re: Web Site Frames
Answered By: snapanswer-ga on 28 Jul 2003 16:40 PDT
Rated:5 out of 5 stars
Your question emphasizes trying to keep the top frame from resizing. 
When the browser windows resizes, something has to give.  So, my
strategy for preventing the top frame from resizing comes at the
expense of the second row of the frame.

This is done by using an asterick instead of 270 to define the second
row of the frame.

Here is the completed source.  When I tested it, it allowed the size
of the browser window to be resized without the first row shrinking or

I hope this is what you were looking for.  I have made no other
changes to the code.  The updated code is provided following the
finished answer.

I used the following links for reference:
Iota-six:  Frames

Devshed:  Frames resize problem

Search Strategy:  Review HTML Frame guidelines for reference.

Search Terms:  html frames resize

I hope you have found this information useful and easy to understand. 
If you have questions about the information provided, please do not
hesitate to request a clarification before rating the answer.

	<script language="JavaScript" type="text/JavaScript"
	<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<frameset cols="*,699,*" border="0" framespacing="0" frameborder="0" >
	<frame name="left"    scrolling="no" border="0" framespacing="0"
frameborder="0"  marginwidth="0" marginheight="0" src="rigth.htm"
target="_self" NORESIZE >
	<frameset rows="154,*,18" border="0" framespacing="0" frameborder="0"
scrolling=no >
		<frame name="top"  scrolling="no"   border="0" framespacing="0"
frameborder="0" marginwidth="1" marginheight="13" src="banner.html"
target="_top" NORESIZE >
		<frameset cols="7*,81%">
		<frame name="home" scrolling="no" border="0" framespacing="0"
frameborder="0" marginwidth="2" marginheight="5" src="tvmenu.shtml"
target="_blank" NORESIZE>
		  <frameset rows="*,1%">
		  <frame name="home1" src="home.htm" scrolling="auto"
            <frame name="home2" src="new_page_1.htm" scrolling="no">
		<frame name="footer" scrolling="no" border="0" framespacing="0"
frameborder="0" marginwidth="0" marginheight="0" src="index1.htm" 
target="_self" NORESIZE >
	<frame name="right"   scrolling="no"   border="0" framespacing="0"
frameborder="0" marginwidth="0" marginheight="0" src="rigth.htm" 
target="_self" NORESIZE >

galgal1-ga rated this answer:5 out of 5 stars
Very quick responce and awesome answer! Thank you for the script! I
wish I had more money to tip you.

Subject: Re: Web Site Frames
From: snapanswer-ga on 28 Jul 2003 18:35 PDT
Thank you for the excellent rating.  I am glad this answer worked for you.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy