I'm having an issue with a site we launched recently. There's a 25 pixel gap at the bottom of the site that I cannot explain, and I've exhausted all troubleshooting techniques I could think of trying to figure this out.
Here's what I can tell you is NOT causing it:
1) There is no margin or padding on the body or HTML tags. 2) The footer does not have a bottom margin or padding. 3) The height of the footer is static. 4) There are no elements within the footer that are hanging outside of the box. 5) When I eliminate the both the footer and the content area, the gap is still there. 6) There are no 3rd party apps installed which would affect page layout (and if there were, any dynamic changes would show in Inspector).
I'm using Firefox inspector to troubleshoot this. Inspector is showing nothing that indicates the space should be there, and when I remove elements one at a time by deleting them through the inspector, the gap does not go away. What am I missing?? Either I'd like to learn how to use inspector for troubleshooting better (because I'm obviously not troubleshooting effectively), or I'd just like to find out what could cause this gap and not show up when I try to hunt it down.
I should elaborate. The problem is caused by the code
<iframe name="google_conversion_frame"...
Because this
iframe
is in the flow and has layout, it is being added at the bottom of the page and adding the space. Your best bet would be to apply a style to it, giving itposition: absolute;
and aleft: -5000px;
or similar style to remove it from view.