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
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Inline Frame and Firefox

    I am having trouble getting Netscape and Firefox to display an inline frame correctly. It works fine in IE and Opera. The problem is NS and FF move the inline frame up near the top of the page instead of displaying it in the body where it belongs. I've tried several different ways to no avail. Any ideas? Here's the URL:

    http://www.jagsfootball.com/Stats2005.htm

    Any help is very much appreciated.
    Last edited by davidm50; 12-24-2005 at 04:29 PM.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,665
    Thanks
    6
    Thanked 1,006 Times in 979 Posts
    Use a <div> instead:

    <div id="whatever">content</div>
    And format it with css:

    Code:
    #whatever {
      width: ??px;
      height: ??px;
      overflow: auto;
    }
    This works everywhere and is better than iframes.

  • #3
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    If you are going to continue to insist on using a html3.2 doctype you will continue to have problems with modern browsers.


  •  

    Posting Permissions

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