...

View Full Version : Stupid frame question



allok
11-12-2012, 12:11 PM
Learning about html and frames. Yeah,I know frames is not the best option but I still want to learn it. :)
Been trying to add a bottom frame here without any success.

<html>
<head>
<title>Frames</title>
</head>
<frameset rows="150,*">
<frame name="topp" src="topp.html" noresize />
<frameset cols="30, 150, 30">
<frame name="left" src="left.html" noresize />
<frame name="main" src="main.html" noresize />
<frame name="right" src="right.html" noresize />
<frame name="bottom" src="bottom.html" noresize />
</html>
Been trying to change the cols and rows and tried to start a new frameset for just bottom frame but no luck. I am probably just doing some stupid mistake but I can't see it myself. Any help would make me happy.:)

VIPStephan
11-12-2012, 02:39 PM
You are never closing your framesets. Also, you are specifying three columns but have four frames in the last frameset. What gives?

allok
11-12-2012, 03:55 PM
I tried this:

<html>
<head>
<title>Frames</title>
</head>
<frameset rows="150,*">
<frame name="topp" src="topp.html" noresize />
<frameset rows="150,*">
<frame name="bottom" src="bottom.html" noresize />
<frameset cols="30, 150, 30, 150">
<frame name="left" src="left.html" noresize />
<frame name="main" src="main.html" noresize />
<frame name="right" src="right.html" noresize />
</frameset>
</html>


And this:

<html>
<head>
<title>Frames</title>
</head>
<frameset rows="150,*">
<frame name="topp" src="topp.html" noresize />
<frameset cols="30, 150, 30, 150">
<frame name="left" src="left.html" noresize />
<frame name="main" src="main.html" noresize />
<frame name="right" src="right.html" noresize />
<frame name="bottom" src="bottom.html" noresize />
</frameset>
</html>

And also this:

<html>
<head>
<title>Frames</title>
</head>
<frameset rows="150,*">
<frame name="topp" src="topp.html" noresize />
<frameset cols="30, 150, 30">
<frame name="left" src="left.html" noresize />
<frame name="main" src="main.html" noresize />
<frame name="right" src="right.html" noresize />
</frameset>
<frameset rows="150,*">
<frame name="bottom" src="bottom.html" noresize />
</frameset>
</html>

But I can never get the final frame at the bottom. I want a similar frame at the bottom as I have on the top.:)

VIPStephan
11-12-2012, 04:27 PM
Then you need <frameset rows="150,*,150"> or something like that.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum