IFRAME size is perfect in IE but wrong in Firefox

Posted on 2005-04-27
Last Modified: 2008-02-01
Take a look at this page:

1st use IE to view the page.
*Notice you can see the word "sneak" inside of the IFRAME
2nd open the same link inside Firefox or Netscape
*Notice you cannot see the word "sneak" inside of the IFRAME any longer.

Is there a special way I need to code the IFRAME to look the same as it does in IE?
My purpose is to make a true cross platform site.
Question by:deek22
    LVL 22

    Accepted Solution

    try formatting your Iframe with CSS, if this does not work, have a look at this

    Author Comment

    Fixed it, Here is the code that I used in the main page containing the iframe.  Using CSS to format the IFRAME allowed it to show up the same in Firefox/Netscape/IE

    Thanks RedKelvin

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "">
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>IFRAME scroll problem</title>
    <style type="text/css">
          height: 155px;
          width: 700px;
          border-style: none;




    <p>IFRAME Size Problem</p>
    <iframe name="I1" src="test_2.htm" scrolling="no" border="0" frameborder="0">
    Your browser does not support inline frames or is currently configured not to display inline frames.



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    How many times have you been browsing the internet, with multiple tabs open, and closed the wrong one? Have you ever clicked 'Close all tabs' instead of 'Close current tab' ? Internet Explorer 8 now brings to you, what Firefox has had for a wh…
    This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
    This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
    How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now