+ 1

Iframe inside div

Hi, how can I make iframe fit 100% in a div, while the div expand base on the original content of iframe. Think of it as there's no iframe because it's expanding with the main webpage. .div-parent{ Overflow: auto; } .iframe-max-size{ width:100%; height:100%; } That's what I do, but the output is not I expected to be. How to make it happen, thanks.

7th Aug 2021, 12:01 PM
Jonathan P. Jundarino
Jonathan P. Jundarino - avatar
1 Odpowiedź