Frameset on multiple pages - html

I want to make frameset with multiple frames, but I want each frame to have a specific size regardless of how many columns. I want this frameset to expand to multiple pages if needed with a scroll bar ( scroll bar not for the individual frame but for the whole html page) . What I noticed is that all these frames are forced to fit on one html window and so the frames forcibly get resized to fit in one page .
Is there any way to respect the size I indicate , and the html page occupy multiple pages with a scroll bar so I don't compromise the size of each frame?
Example :
<html>
<frameset cols="1000,1000,1000,1000,1000,1000,1000,1000,1000">
<frame noresize="noresize" src="frame_a.htm">
<frame noresize="noresize" src="frame_b.htm">
<frame noresize="noresize" src="frame_c.htm">
<frame noresize="noresize" src="frame_a.htm">
<frame noresize="noresize" src="frame_b.htm">
<frame noresize="noresize" src="frame_c.htm">
<frame noresize="noresize" src="frame_a.htm">
<frame noresize="noresize" src="frame_b.htm">
<frame noresize="noresize" src="frame_c.htm">
</frameset>
</html>
these individual frames get resized to fit the html window and are not 1000 each.

Related

Why, when trying to set the frame it doesn't work

i have to do homework which should look like this:
frame homework
i managed to do: (my try)
<HTML>
<frameset cols="*,200">
<frameset rows="100,*,15%">
<frame src="rl_gorna.html">
<frame src="rl_srodkowa.html">
<frameset cols="15%,*">
<frame src="rld_lewa.html">
<frame src="rld_prawa.html">
</frameset>
</HTML>
But i dont know how to do right side because It breaks all the time. I thought that when i will add over "frameset rows="100,*,15%" frame src it will work fine but its not
Make sure you get the nesting in order, and don't forget to close your <frameset> elements:
<frameset cols="*,200">
<frameset rows="100,*,15%">
<frame src="rl_gorna.html">
<frame src="rl_srodkowa.html">
<frameset cols="15%,*">
<frame src="rld_lewa.html">
<frame src="rld_prawa.html">
</frameset>
</frameset>
<frame src="r_prawa.html">
</frameset>
See a working CodeSandbox
And a friendly note: <frame> and <frameset> elements are deprecated, so I'd put them to rest when your homework is done.

How do I set frame alignment?

How to set my frames in html as shown in diagram below? How to create rows in frame-set columns? Is CSS needed here?
<html>
<frameset cols="25%,*">
<frame src="myframe1.htm">
<frame src="myframe2.htm">
<frame src="myframe3.htm">
</frameset>
</html>
You don't need CSS for this. You can nest framesets and use the rows attribute, for example:
<frameset cols="25%,*">
<frameset rows="*,*">
<frame src="myframe1.htm">
<frame src="myframe2.htm">
</frameset>
<frame src="myframe3.htm">
</frameset>

Second Frameset not appearing in IE8

I am working on a facelift for a legacy site that has to function in IE5 and up. I have it working in everything but IE8. It uses framesets and that is not something I can change unfortunately.
For some reason, in IE8 on Windows 7 and XP, the second frameset in a nested frameset group is not showing up. It is also a nested frameset.
I have tried viewing this in compatibility mode and without compatibility mode. It is also running on a server, not just a file. My head doesn't use the x-frame-options call in it because the site resides on a non-networked server, so there is no way it can be clickjacked.
Below is my code:
frameset rows="120, *" border="0">
<frameset cols="100%" border="0">
<frame src="masthead.html" style="width: 100%; display:" scrolling="no" noresize></frame>
</frameset>
<frameset cols="240, 640*" border="0">
<frame src="menu.html" scrolling="no" noresize></frame>
<frameset rows="*" border="0">
<frame src="cathome.html" name="main" scrolling="auto" noresize></frame>
</frameset>
</frameset>
</frameset>
It resides in an HTML page that has html, head, title and body tags as well.
The top frameset appears fine, there is just no bottom one. I can also see this exact code when I view source, so it is not removing anything when rendering. Thanks -
The frameset is invalid, and as known, IE is not the best browser to show invalid HTML. Remove the extra framesets:
<frameset rows="120, *" border="0">
<frame src="masthead.html" scrolling="no" noresize></frame>
<frameset cols="240, 640*" border="0">
<frame src="menu.html" scrolling="no" noresize></frame>
<frame src="cathome.html" name="main" scrolling="auto" noresize></frame>
</frameset>
</frameset>

Creating four frames using HTML

I need to create four frames in an HTML document. The code below creates only three frames.
<!DOCTYPE html>
<html>
<FRAMESET cols="100%" rows="10%,90%" >
<FRAMESET rows="100%,">
<FRAME src="frame_a.htm">
</FRAMESET>
<FRAMESET cols="20%,60%" rows="40%,80">
<FRAME src="frame_b.htm">
<FRAME src="frame_c.htm">
</FRAMESET>
<FRAMESET rows="60%," >
<FRAME src="frame_d.htm">
</FRAMESET>
</FRAMESET>
</html>
This snapshot explains the question. Notice that the above code didn't create frame D.
That's because the two top rows take up 100% of the height, and you haven't specificed any height for the third.
Try:
<FRAMESET cols="100%" rows="10%,40%,50%">
<FRAMESET cols="100%" rows="10%,90%"> creates a frameset with two frames: The first one with 10%, the second one with 90%. Since you want three rows you need to add a third value.

how to restrict the page content becoming large at the time of split the old frame into multiple frames?

I have the frameset like this,
index.html
<frameset rows="137px,*" border="0" >
<frame src="first.html" scrolling="no" noresize="noresize"/>
<frame src="second.html" noresize="noresize" name="show"/>
</frameset>
first.html
<a href="home.html" target='show'>Home</a>
home.html
<frameset rows="20%,*" border="0" >
<frame src="third.html" scrolling="no" noresize="noresize"/>
<frame src="fouth.html" noresize="noresize" name="newshow"/>
</frameset>
when I click the Home link in first.html. It will be load on the show frame( home.html).
The home.html is having another two frames. it will be split into two frames. When this split happens all page content become large. How to get rid of this problem.
I am working with firefox 3.0.8. In google-chrome,it works fine.
Thanks