Results 1 to 2 of 2

Thread: frames

  1. #1

    Thread Starter
    Hyperactive Member dandono's Avatar
    Join Date
    Aug 2004
    Location
    Cornwall, UK
    Posts
    485

    frames

    hi, i have been redesigning my website and i have use frames on the homepage. i have got two frames (a menu and the main frame) but i would like to have a third frame for a logo going across the top.this is what i have currently got for HTML code:
    <html>

    <head>
    <meta http-equiv="Content-Language" content="en-gb">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Dan's Web Server 2005!</title>
    <base target="dwsmain">
    </head>

    <frameset cols="9%,49%" framespacing="0" border="0" frameborder="0">
    <frame src="main/2.htm" scrolling="no" name="dwsmenu" noresize>
    <frame src="main/1.htm" scrolling="no" name="dwsmain" noresize>
    <noframes>

    <body bgcolor="#000000" text="#00FF00">

    <p>Dan's Web Server 2005! - Frames cannot be used on your system.</p>

    </body>
    </noframes>
    </Frameset>
    </html>

    i would like a frame going across the top name dwslogo and pointing to main/3.htm
    thanks, dandono
    Last edited by dandono; May 12th, 2005 at 11:22 AM. Reason: html code is done in crap wysiwyg
    If there is only one perfect person in the universe, does that make them imperfect?

  2. #2
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602

    Re: frames

    What you need to do is to nest another frameset.

    Main.html:

    HTML Code:
    <frameset rows="10%,90%" framespacing="0" border="0" frameborder="0">
    <frame src="banner.html" scrolling="no" name="banner" noresize>
    <frame src="contentframe.html" scrolling="no" name="contentframe" noresize>
    contentframe.html
    HTML Code:
    <frameset cols="10%,90%" framespacing="0" border="0" frameborder="0">
    <frame src="nav.html" scrolling="no" name="nav" noresize>
    <frame src="content.html" scrolling="no" name="content" noresize>
    contentframe.html is placed into the second (bottom) frame of the main.html page.
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

Posting Permissions

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



Click Here to Expand Forum to Full Width