Answers for "iframe scale"

0

how to show iframe in full width

<div>
  <div style="position:relative;padding-top:56.25%;">
    <iframe src="https://www.youtube.com/embed/nckseQJ1Nlg" frameborder="0" allowfullscreen
      style="position:absolute;top:0;left:0;width:100%;height:100%;"></iframe>
  </div>
</div>
Posted by: Guest on May-22-2021
0

iframe auto resize

<iframe src="YourPage.aspx" width="100%" height="200px" id="iframe1" marginheight="0" frameborder="0" onload='javascript:resizeIframe(this);'></iframe>
Posted by: Guest on October-10-2021

Browse Popular Code Answers by Language