Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

why is my site's Iframe partially loading?

  • 5 replies
  • 1 has this problem
  • 48 views
  • Last reply by onkar4in

more options

Dear Sir,

My website's iframe is loading partially in firefox but is loading fully in chrome. You can check it in

http://orthocad.iitb.ac.in/betic/

Please let me know what needs to be done to solve this issue.

Dear Sir, My website's iframe is loading partially in firefox but is loading fully in chrome. You can check it in http://orthocad.iitb.ac.in/betic/ Please let me know what needs to be done to solve this issue.

Chosen solution

Apparently 150px is the default height for an iframe based on a CSS specification, if the other height rules don't supersede it: http://www.w3.org/TR/CSS2/visudet.html#inline-replaced-height

Read this answer in context 👍 0

All Replies (5)

more options

Your iframe has position:relative and height="100%" but the actual height is 150px.

For reasons I can't remember, the fix for this is to add this style rule to the table, not the table cell: height:100%

more options

Also, if you add cellspacing="0" and cellpadding="0" to the table tag, some of the horizontal gaps will be removed and you can drop the width="101%" to width="100%" and remove left:-1px on your iframe tag.

more options

Hi thanks for the immediate response;j

I have made the the table height:100%; Do I need to remove the position:relative?

Also just for the curiosity why is the total height of frame only 150px? have I specified it anywhere?

more options

Chosen Solution

Apparently 150px is the default height for an iframe based on a CSS specification, if the other height rules don't supersede it: http://www.w3.org/TR/CSS2/visudet.html#inline-replaced-height

more options

Thanks jscher2000;

I have solved the issue by explicitly specifying the height of the iframe in pixels. Thanks for directing me towards it.