iFrame Back to page 1   Bottom   Scroll to iFrame   Jump to iFrame anchor Jump to parent anchor

This page has an absolute position element that take it out side the normal document body, which is marked with a red border on this page. This prevents the normal height calculation, which is based on the body tag from returning the correct height. To work around this you can set the heightCalculationMethod option to use one of the other page height properties.

Use the dropdown to change the sizing method of the page, select the different sizing options to see how the effect the page. Note that they can have different effects in different browsers, so you are normally best off selecting max if you need to change away from the default bodyOffset option.

Height Calculation Method

This option should be used sparingly, as the alternate methods can be less accurate at working out the correct page size, can cause screen flicker and can sometimes fail to reduce in size when the frame content changes in browsers that do not support mutationObservers (See caniuse.com for details).

Test in page anchor
Absolute positioned element Top