PDA

View Full Version : How to make a four square frameset with HTML? (This is Killing Me!)


TheOneEyed Hobo
07-25-2006, 09:34 AM
Is there any way to make a four square frameset with HTML! I have been trying and I just can't get it.

Thanks in advance,
TheOneEyed Hobo

ThreeDee
07-25-2006, 04:57 PM
You will need three pages. One page will have a horizontal frames, the other two will have vertical frames. Set the 'src' of the horizontal frames to the vertical frame pages.

If you need to do this with only one page, try:

<FRAMESET cols="50%,50%">
<FRAMESET rows="50%,50%">
<FRAME src="frame1.html">
<FRAME src="frame2.html">
</FRAMESET>
<FRAMESET rows="50%,50%">
<FRAME src="frame3.html">
<FRAME src="frame4.html">
</FRAMESET>
</FRAMESET>

I'm a bit rusty on my HTML, so click here for more info on frames (http://www.w3.org/TR/REC-html40/present/frames.html#h-16.2.1.2).

TheOneEyed Hobo
07-25-2006, 05:09 PM
Oh, I'm really sorry, I forgot to reply. I actually got the code, but thank you very much anyways.
Here's what I got:

<frameset rows="50%,50%">
<frameset cols="50%,50%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
</frameset>
<frameset cols="50%,50%">
<frame src="frame_c.htm">
<frame src="frame_d.htm">
</frameset>
</frameset>