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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

why is my site's Iframe partially loading?

  • 5 uphendule
  • 1 inale nkinga
  • 4 views
  • Igcine ukuphendulwa ngu 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.

Isisombululo esikhethiwe

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

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 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

Isisombululo Esikhethiwe

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.