카테고리 없음
[HTML] iframe이 제대로 표시되지 않음
행복을전해요
2021. 1. 26. 22:01
시도한 것처럼 작동하지 않는 두 개의 iframe을 서로 중첩시킨 것 같습니다. 나는 당신 http://embed.movshare.net/embed.php?v=ksm4jw0p1e6yv
이 iframe 에 표시하고 싶다고 가정합니다 . 이에 대한 코드는 다음과 같습니다.
<iframe style="overflow: hidden; border: 0; width: 720px; height: 362px"
src="http://embed.movshare.net/embed.php?v=ksm4jw0p1e6yv" scrolling="no">
</iframe>
이 JSFiddle 에서 실시간으로 확인 하십시오 .
-------------------Google의 iframe 예 :
<iframe class="gmap" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"
src="https://maps.google.co.in/maps/ms?msa=0&msid=212838658933937169734.0004f3360c6126926e728&ie=UTF8&ll=-6.947807,107.612513&spn=0,0&t=m&output=embed">
</iframe>
귀하의 코드
<iframe style=' border: 0; width: 720px; height: 362px' src='<iframe width="600" height="480" frameborder="0" src="http://embed.movshare.net/embed.php?v=ksm4jw0p1e6yv" scrolling="no"></iframe>
다음은 코드 수정입니다.
<iframe src="http://embed.movshare.net/embed.php?v=ksm4jw0p1e6yv" style="border:0;width:720px;height:362px" frameborder="0"></iframe>
출처
https://stackoverflow.com/questions/22029795