Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9259877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:45:40+00:00 2026-06-18T12:45:40+00:00

I am having problems with Iframes and Firefox. Basically, I am embedding an IFrame

  • 0

I am having problems with Iframes and Firefox. Basically, I am embedding an IFrame into a site for it take up the whole body area. It works perfectly with Google chrome as you can see here. The I-frame takes up all the body area, no scrollbars needed to navigate the iframe.

chrome : https://i.stack.imgur.com/muo3U.png

But in firefox it doesn’t work correctly. As you can see here, only a part of the iframe is visible and the scrollbars (they are invisible but scrolling works) must be used to navigate the iframe. It is very unappealing for the purpose of my website.

Firefox: https://i.stack.imgur.com/6Vm1O.png

So I’m wondering how I could get this to work? I have searched and searched and all the solutions I try end up not working.

Here’s my code and others I’ve have tried.

http://pastebin.com/rmdcnLuw

Thanks for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:45:41+00:00Added an answer on June 18, 2026 at 12:45 pm

    You need to set your body and html elements to height: 100%

    Try something like this:

    <html style="height: 100%">
    <body style="height: 100%">
        <div style="width:100%; height:100%; background-color:transparent;">
        <iframe src="http://www.google.com/" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
      </div>
    </body>
    </html>
    

    Better yet, add those rules to your CSS file as such:

    body, html { height: 100%; }
    

    You could also try this:

    CSS:

    html, body { height: 100%; }
    iframe { width: 100%; height: 100%; }
    

    HTML:

    <html>
    <body>
          <iframe src="http://www.google.com" frameborder="0" scrolling="no"></iframe>
    </body>
    </html>
    

    Alternative which moves frameborder and scrolling to the CSS

    border: none; removes the border on the iframe, while overflow: hidden; disables scrolling and hides any content that’s cut off the page (like your original code).

    CSS:

    html, body { height: 100%; overflow: hidden; }
    iframe { width: 100%; height: 100%; border: none; overflow: hidden; }
    

    HTML:

    <html>
    <body>
          <iframe src="http://en.wikipedia.org"></iframe>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a problem with iframe height when placed within a table cell. Firefox
I'm having some problems with google maps (api v3) when I embed them into
I'm having problems with jQuery after a page gets loaded via an iframe. Here's
I'm having problems with callbacks not triggering when I'm using iFrame with a Rails
I'm having problems with the facebook graph api, I have an iframe app that
Hello everyone I'm having some problems when a calling an iframe that has an
I'm having a problem with an iframed Google map. Basically, the position is incorrect,
I am having a problem in my project which is based on iframe. It
Having problems with a small awk script, Im trying to choose the newest of
Having problems iterating. Problem has to do with const correctness, I think. I assume

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.