vh Units
vh units are not supported because the iframe height must be automatically adjusted by AEM.
Fixed Background Images
Fixed background images may not be displayed as fixed when scrolling due to the fact that 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 full screen body by “stretching” the body element as follows:
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:
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an event