Auto-height on the generated iFrame

Miguel Sánchez Villafán
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 18, 2019

Hi, I'm using the HTML Macro for Confluence Cloud, but can't seem to get the correct automatic height right. What I want is for the containing iframe not to have a defined size so it can resize itself according to my content. Let me know if you need more information. Thanks

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2019

Hello there!

Miguel, setting height as automatic according to the content is not possible "the easy way".

However, we can take a look here:

Setting Iframe Height: Cross-Domain Version

Also, there is a thread here in Community about it:

How to adjust width and height of iframe to fit with content in it in Confluence On-Demand

Let us know! Looking forward to your reply.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events