...

View Full Version : Frames



ldsnodden
07-08-2003, 05:19 PM
How can a copy of the frame name "banner" under the "main" frame so it will have banner at the top, main in the middle and bottom at the bottom of the page?

Thanks. Here is the source code.

<html>
<head>
<TITLE>The Chesterfield and District Referees Association</TITLE>

</head>

<frameset rows="110, 100%" border="0" frameSpacing="0" frameBorder="0">
<frame name="banner" src="top.htm" scrolling="no" noresize frameborder="0" marginheight="0" marginwidth="2">

<frameset cols="100%" border="0" frameborder="0" frameSpacing="0">
<frame name="main" src="index2.htm" frameborder="0" noresize scrolling="auto" "fixed">




</frameset>
</frameset>

</html>

pb&j
07-08-2003, 05:50 PM
you mean like this?

<html>
<head>
<TITLE>The Chesterfield and District Referees Association</TITLE>

</head>

<frameset rows="20%,60%,20%" border="0" framespacing="0" frameborder="0">

<frame name="banner" src="top.htm" scrolling="no" noresize="noresize" marginheight="0" marginwidth="2">

<frame name="main" src="index2.htm" noresize="noresize">

<frame name="bottom" src="bottom.htm" noresize="noresize">

</frameset>

</html>

ldsnodden
07-08-2003, 06:24 PM
Thanks but when I use my html document in it you can see the text. I have it set like this 23%,73%,4% and what happens is the text is actually below so you have to drag the page down to see it. Its only one signle line that says (c) Chesterfield RA. How do I get around this?

Ben@WEBProp
07-08-2003, 06:34 PM
Do you mean to say that in the bottom frame there is a unwanted scrollbar? I don't know how to do it, but you could adjust the top margin if someone else knows how to do it...

BUT, try this...
put the attribute

scrolling="no"

into the part <frame name="bottom" src="bottom.htm" noresize="noresize">
so you end up with:
<frame name="bottom" src="bottom.htm" noresize="noresize" scrolling="no">

If that doesn't work then try to find someone who knows how to adjust margins in frames...

-Ben

pb&j
07-08-2003, 08:45 PM
Originally posted by Ben@WEBProp
so you end up with:
<frame name="bottom" src="bottom.htm" noresize="noresize" scrolling="no">
plus add this to the bottom.htm page in the HEAD area...
<style type="text/css">
body {margin:0px;}
</style>

Ben@WEBProp
07-08-2003, 08:59 PM
Oh duh!! I'm stupid!...
Sorry, my bad. But PB&J is right! Just use css! That should do it!:thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum