vh Units

vh units are not supported because the iframe height must be automatically adjusted by Adobe Experience Manager (AEM).

Fixed Background Images

Fixed background images may not be displayed as fixed when scrolling because it is embedded within an iframe.

  • Selecting View Page as Published in the header bar actions displays the page properly.

100% Height

100% height is not supported on a page’s body element.

  • A work-around is possible to implement a fullscreen body by “stretching” the body element as follows:
body {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

Margin Collapsing

Margin collapsing problems can be seen if the first child element of the body element has a margin.

  • The solution is to add a clearfix at the body element level such as follows:
body:before, body:after{
    content: ' ';
    display: table;
}

Experience Manager