I am trying to display content in an iframe using Fancybox, but I am encountering an issue. Despite all the content being contained within the iframe, horizontal and vertical scroll bars are appearing. When inspecting the element in Firefox, I noticed that when clicking on html
, everything appears to be inside the highlighted box except for a small portion that is outside of it. The parent element iframe.fancybox-iframe
includes the scroll bars, even though the CSS has padding and margins set to zero. Currently, my only option is to have autoSize:false
. The only content within the body of the page displayed in the iframe is a form.