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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2010
    Posts
    417
    Thanks
    4
    Thanked 1 Time in 1 Post

    frameset how to expand to content

    I wish to have the bottom frame expand to full height of content.

    why... well client wants menu in top frame with music ! ok ok not good i head but thats what they want until they see it is not so good! until then...

    Code:
    <frameset rows="40,*" frameborder="NO" border="0" framespacing="0">
      <frame src="header.php" name="Frame1" scrolling="NO" noresize>
      <frame src="Bottom.php" name="Frame2" scrolling="NO" noresize>
    </frameset>
    I wish to have Frame2 expand without having the scroll bars within the webpage, but allow them to scroll with the standard scroll bars where they are normally located.

    how can i do this?

  • #2
    New to the CF scene
    Join Date
    May 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I reaaally suggest you learn proper CSS it will help you lots!
    All modern web designers use CSS.

    http://www.w3schools.com/css/

    Code:
    <frameset style="height:100%;overflow:auto;" rows="40,*" frameborder="NO" border="0" framespacing="0">
      <frame src="header.php" name="Frame1" scrolling="NO" noresize>
      <frame src="Bottom.php" name="Frame2" scrolling="NO" noresize>
    </frameset>
    I think this should do it, but I can't really check because you didn't give me the link to the page your working on.

  • #3
    Regular Coder
    Join Date
    Apr 2010
    Posts
    417
    Thanks
    4
    Thanked 1 Time in 1 Post
    my original code.

    all i need is the bottom frame to expand to show all the content.

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    
    <frameset rows="40,*" frameborder="NO" border="0" framespacing="0">
      <frame src="headerFS.php" name="Frame1" scrolling="NO" noresize>
      <frame src="BottomFS.php" name="Frame2" scrolling="NO" noresize>
    </frameset>
    <noframes><body>
    
    </body></noframes>
    </html>


  •  

    Posting Permissions

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