Frame Problem

Discussion in 'HTML - XHTML - CSS' started by kenjin, Oct 23, 2005.

  1. kenjin New Member

    Alright Im having problems with Frames. I type the url right and im only using a Top and bottom frame. I want to frame a pic/navigation:

    [IMG]

    And I want to frame my forum: http://theduffportal.invisionplus.net

    But the Image above does not appear. Its just a blank page in the top frame. And sometimes a scroll bar appears in the top frame. Heres the page with the frame:

    http://www.theduffportal.com/Forum/Forumhome.html

    Heres the code I use:
    Code:
    <frameset cols="100%" rows="100,*" border="1" frameborder="1" framespacing="10">
     
    <frame name="top" src="[URL="http://www.theduffportal.com/forum/forum.html"]http://www.theduffportal.com/forum/forum.html[/URL]" marginwidth="1" marginheight="1" scrolling="auto" frameborder="no" noresize>
    <frame name="bottom" src="[URL="http://theduffportal.invisionplus.net"]http://theduffportal.invisionplus.net[/URL]" marginwidth="1" marginheight="5" scrolling="auto" frameborder="no" noresize>
     
    <frameset cols="170,*" border="1" frameborder="1" framespacing="1">
     
    </frameset>
    can someone plaese help me?
  2. Mimoun Administrator

    It doesn't work because you have a frameset within a frameset.

    What is the url for your header?
    In your code the url for your header is http://www.theduffportal.com/forum/forum.html but this is not your header but your main frameset again.
  3. kenjin New Member



    Alright I fixed it, but a scroll bar appears on the top frame. How do I get it to show the image in the top frame without the scroll bar? The Frame is at:

    http://www.theduffportal.com/Forum/Forumhome.html


    The forum: http://theduffportal.invisionplus.net (this is the bottom frame)

    This is the top frame image: http://www.theduffportal.com/forum/forum.html
  4. Mimoun Administrator

    You have to use the right height in your case 224px.
    You used the tag frameset 2 times you can only us it ones.
    Like this:
    Code:
    <frameset cols="100%" rows="224px,*" border="1" frameborder="1" framespacing="10">
     
    <frame name="top" src="http://www.theduffportal.com/forum/forum.html" marginwidth="1" marginheight="1" scrolling="auto" frameborder="no" noresize>
    <frame name="bottom" src="http://theduffportal.invisionplus.net" marginwidth="1" marginheight="5" scrolling="auto" frameborder="no" noresize>
    
     
    </frameset>
    
  5. kenjin New Member


    Thank you thats much better. Thanks for the help... I got the code from another site and they realy dident have instructions on how to use it or if i should edit anything.