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

iframe height 100%

  • No replies
  • 131 have this problem
  • 4 views
more options

Setting "height: 100%;" in the style of an iframe and displaying it with Firefox, if the document embed in the iframe has the height greater than the height of the monitor, you get an iframe with the vertical scroll bar height scaled to monitor height in pixels. The only way to eliminate the vertical scroll bar is to set a "height: xxxxpx;" every time manually locating the height of the document to be embed in the iframe. Is there a way to set "height: 100%" of an iframe and display it in Firefox so that 100% is referred to the height of the document to be embed in the iframe and not to height in pixels of the monitor? Thank you.

Setting "height: 100%;" in the style of an iframe and displaying it with Firefox, if the document embed in the iframe has the height greater than the height of the monitor, you get an iframe with the vertical scroll bar height scaled to monitor height in pixels. The only way to eliminate the vertical scroll bar is to set a "height: xxxxpx;" every time manually locating the height of the document to be embed in the iframe. Is there a way to set "height: 100%" of an iframe and display it in Firefox so that 100% is referred to the height of the document to be embed in the iframe and not to height in pixels of the monitor? Thank you.