Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: Frames

  1. #1
    New Coder
    Join Date
    Sep 2002
    Location
    United Kingdom
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Frames

    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>

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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>

  • #3
    New Coder
    Join Date
    Sep 2002
    Location
    United Kingdom
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    thanks but...

    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?

  • #4
    Regular Coder
    Join Date
    Jun 2003
    Location
    Spokane, WA
    Posts
    512
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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>

  • #6
    Regular Coder
    Join Date
    Jun 2003
    Location
    Spokane, WA
    Posts
    512
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh duh!! I'm stupid!...
    Sorry, my bad. But PB&J is right! Just use css! That should do it!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •