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 7979219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:43:11+00:00 2026-06-04T09:43:11+00:00

This should have been a simple thing to sort but even after extensive research

  • 0

This should have been a simple thing to sort but even after extensive research on the Internet for 3 hours I am unable to find a solution. Here is my problem:
I am using WordPress as CMS. (I don’t think it really matters in my case anyhow).
I want to use an iframe inside a wordpress page. Okay.
The height of the frame is set to 100% in both CSS and in

This works like charm on Chrome but the frame shows scroll bars in firefox and IE and is only about 250 px in height. I searched on this forum and most people here and on Internet propsoed this solution:

html, body,iframe { margin:0; padding:0; height:100%; min-height: 100% }

Also for the iframe:

.forms
{
width:100%;
min-height:100% !important;
display:block;}

This didn’t work. So I tried other things as well: such as overflow:hidden (This doesn’t display the whole frame). I also tried using Jquery resize function on iframe. That didn’t work either. I also tried JS solution posted here:
http://yysource.com/2011/08/source-code-iframe-with-100-height/

But that didn’t work either. So now I am exhausted and posting my problem here hoping that someone here can help me please. Here is my page using iframe:
http://motushealth.com/mytip/

Thanks,
Ahmar.

Note: I have also tried postion:fixed in CSS.

  • 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-04T09:43:14+00:00Added an answer on June 4, 2026 at 9:43 am

    i tried two things. First

    html, body, iframe {
    height: 100%; // remove this line
    margin: 0;
    min-height: 100%;
    padding:0;}
    

    second,

    <iframe height="450" frameborder="0" class="forms" onload="resize_iframe()" id="glu" style="border:0px;" src="/form1.html">
    

    i changed the height from 900 to 450.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This should be a very simple thing to have run, but for some reason
This should be really simple, but I have tried many solutions posted on the
This should be so simple, but I'm drawing a blank. I have two tables.
This should be pretty simple, but I am new at LINQ. I have a
I have what should be a simple thing but my unfamiliarity with .NET and
I know this is a really simple thing that I really should know but
Scala programmer should have known that this sort of writing : class Person{ var
This should be simple, yet I can't get it to work. I have a
This not a programming question but Most of the programmers using Eclipse should have
This seems like it should be fairly simple, but for some reason I can't

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.