www.webdeveloper.com
Results 1 to 6 of 6

Thread: Frames

  1. #1
    Join Date
    Dec 2003
    Posts
    9

    Angry Frames

    This is my first crack at using frames. Will someone take a look at the code at this site:

    www.woodwebservices.net/ppn

    and tell me why the links in the header nav bar open up in a new window, instead of opening up in the "main" body of the website.

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Location
    Washington DC
    Posts
    1,107
    specify the "target" attribute of each link to "main":

    [code]
    <a href="somepage.html" target="main">test</a>

  3. #3
    Join Date
    Aug 2003
    Posts
    256
    Code:
    <base target="contents">
    is in the header frame's code... so you need to change "contents" to "main".... that's unless i'm being really thick....
    (that's instead of the code alteration written by crh3675)

    ..very nice layout by the way
    Last edited by hammerslane; 02-03-2004 at 10:25 AM.

  4. #4
    Join Date
    Dec 2003
    Posts
    9

    Talking

    I changed the code in the header from "content" to "main" and that did it! Duh....

    Thanks!

  5. #5
    Join Date
    Dec 2003
    Posts
    9
    I have a new problem. Go to http://premierpilotnetwork.com and click on FBO BENEFITS. There is a horizontal scroll bar there. Any idea why? Or any idea how to get rid of it?

    There is not one on any of the other pages...

  6. #6
    Join Date
    Jan 2004
    Location
    Washington DC
    Posts
    1,107
    It works fine in Mozilla. I get a scroll in IE6. If you have a Table with a style setting of width:100%, that may be causing your problem. I have had to adjust from 100% to 99% or even lower sometimes to avoid incompatibilites like that. Not sure if that helps.
    Last edited by crh3675; 02-06-2004 at 11:35 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles