Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Auto Adjust iframe content based on monitor resolution

SaRaH-OracleSep 11 2020 — edited Sep 11 2020

Hello everyone,

I have an iframe which I am using in Oracle Apex- Static Region. I have given the below statement in Header Text to adjust the height

<div style="overflow: hidden; height: 2580px;width: 1300px;>

However, when viewed in a monitor of 24" or of a higher resolution, the content seems to have a scroll bar , but when viewed on a normal 14" monitor, it seems fine(without scroll bar). On increasing the height, there is lots of white space in 14" but it's ok in 24"

Is there a way in which I can auto adjust the height of the iframe contents for different monitor resolutions without having this problem?

Thanks in advance.

Comments
Post Details
Added on Sep 11 2020
2 comments
1,000 views