View Full Version : frames layout


soundasleep
06-25-2003, 11:33 PM
frustrated because i don't know what's wrong.

here's my code:
<html>

<frameset cols="*,700,*" border="0">
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0">
<frameset rows="*,145,251,100,*" border="0">
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0">
<frame src="top.jpg" noresize scrolling="no" marginwidth="0" marginheight="0">
<frameset cols="*,50,600,50,*" border="0">
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0">
<frame src="left.jpg" noresize scrolling="no" marginwidth="0" marginheight="0">
<frame src="main.html" noresize name="mainframe" marginwidth="0" marginheight="0">
<frame src="right.jpg" noresize scrolling="no" marginwidth="0" marginheight="0">
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0">
</frameset>
<frame src="bottom.jpg" noresize scrolling="no" marginwidth="0" marginheight="0">
</frameset>
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0"></frameset>
</head>
<body>
<noframes>Sorry, frames are required!</noframes>
</body>
</html>

here's my page:
http://www32.brinkster.com/confounded/frames.html

see the white space at the bottom? why is it there? and is there anyway i can possibly erase the little white space at the side also without making a new picture to fill up the space?

pb&j
06-26-2003, 06:35 AM
<html>
<!-- split into 3 main columns -->
<frameset cols="*,700,*" border="0">

<!-- this is in column one -->
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0">

<!-- second column contains 5 rows -->
<frameset rows="*,145,251,100,*" border="0">
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0">
<frame src="top.jpg" noresize scrolling="no" marginwidth="0" marginheight="0">

<!-- third row contains 5 columns -->
<frameset cols="*,50,600,50,*" border="0">
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0">
<frame src="left.jpg" noresize scrolling="no" marginwidth="0" marginheight="0">
<frame src="main.html" noresize name="mainframe" marginwidth="0" marginheight="0">
<frame src="right.jpg" noresize scrolling="no" marginwidth="0" marginheight="0">
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0">
</frameset>
<!-- end of third row, 5 columns -->

<frame src="bottom.jpg" noresize scrolling="no" marginwidth="0" marginheight="0">

<!-- missing one row right here in the second column -->
<frame src="blah.html" name="blah">

</frameset>

<!-- here is the third main column -->
<frame src="border.html" noresize scrolling="no" marginwidth="0" marginheight="0">
</frameset>

<!-- this ending head tag should be deleted -->
</head>

<body>
<noframes>Sorry, frames are required!</noframes>
</body>
</html>

soundasleep
06-26-2003, 09:25 PM
i love you!!! thank you so much, and for telling me what each line means. i was trying to learn from a tutorial that just told me to do each stuff and not telling me the actual meaning of each!!!
but what's the diff btwn frameset and frame src? and why do i have to delete the </head>?

and can i ever have my links on the very bottom of the page like this?
http://www32.brinkster.com/confounded/default.htm
if i do my frames layout in the head? how would i go about doing it?

MaGiCSuN
06-26-2003, 09:49 PM
you have to delete the </head> because there is no <head> opening tag, and because frames don't belong in the <head></head> section at all :)

they should be between <head></head> and <body></body> (the space between those two pairs)

Love,
Mirna

pb&j
06-27-2003, 07:03 AM
>> thank you so much, and for telling me what each line means.

no prob.

>> what's the diff btwn frameset and frame src?

FRAMESET tells the browser "this area is about to be split into columns or rows" and states how big those new areas will be.

FRAME prepares the specified area for information. SRC states the SouRCe location of the page to appear in the specified FRAME area. NAME attaches a name value to the specified FRAME area which will be used for correct linking procedures.

>> why do i have to delete the </head>?

answer stated by magicsun. it has no use in a FRAMESET page or the full HEAD area should appear before the first FRAMESET area.

>> and can i ever have my links on the very bottom of the page like this? -- link provided --

didn't see the exact area you are referring to, but essentially, yes, you can have links in any specified area and have them link into any other specified area. depends on what frames layout you are working with or creating.

>> if i do my frames layout in the head? how would i go about doing it?

as stated previously, they do not belong in the HEAD area.

cheers!