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

Anyway to make a frame non resizable?

Status
Not open for further replies.

bigfoot

Programmer
May 4, 1999
1,779
US
I used the noresize, scroll=no commands on both framesets but if you grab the bottom of the window and resize the browser, the top part gets smaller and the separator moves to the middle of my image.
What can I do?

-Gary They never have to knock if your door is always open.
 
Are you using pixels or percentages for your frame sizes?

When I don't want a frame resized or even moved when the browser changes sizes, I use pixels to determine the size, then I insert a wildcard (*) frame on the edge with no content (or the same color background) that will change size with the browser while all the other frames stay the same.
 
Jeanne, could you please cut and paste me a sample so I can look it up?
I'm new to frames, but not HTML.
I'm a VB programmer, you have to speak slowly. :)

-Gary They never have to knock if your door is always open.
 
Sure - here it is (sorry I guess I didn't post it correctly yesterday)

<html>
<head>
<title>Your Title</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>
<frameset rows=&quot;114,*&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot;>
<frame name=&quot;topFrame&quot; scrolling=&quot;AUTO&quot; noresize src=&quot;WBtop.htm&quot; >
<frameset cols=&quot;298,500,*&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot; rows=&quot;*&quot;>
<frame name=&quot;leftFrame&quot; noresize scrolling=&quot;AUTO&quot; src=&quot;leftnav.htm&quot;>
<frame name=&quot;mainFrame&quot; noresize scrolling=&quot;AUTO&quot; src=&quot;logo.htm&quot;>
<frame name=&quot;rightframe&quot; scrolling=&quot;AUTO&quot; src=&quot;rightside.htm&quot;>
</frameset>
</frameset>
<noframes>
<body bgcolor=&quot;#000000&quot; text=&quot;#000000&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; marginwidth=&quot;0&quot; marginheight=&quot;0&quot;>
</body>
</noframes>
</html>

On
<frameset cols=&quot;298,500,*&quot;
the third item (*) is the wildcard. the source document for this frame (<frame name=&quot;rightframe &quot;src=&quot;rightside.htm&quot;>) has nothing but a black background to match the other frames.

I hope this helps.

 
Thank you, Jeanne.
It worked fine. They never have to knock if your door is always open.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top