2014-02-26 5 views
2

도움이 필요합니까?이 코드에 문제가 있다고 생각하십니까? 아무것도 표시하지 않습니까?iframe이 제대로 표시되지 않음

<iframe style='overflow: hidden; 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> 

답변

1

시도한 것처럼 작동하지 않는 두 개의 iframe이 서로 중첩 된 것으로 보입니다. iframe에 http://embed.movshare.net/embed.php?v=ksm4jw0p1e6yv을 표시하려는 것으로 가정합니다. 이 코드는 다음과 같이 보일 것입니다 :

<iframe style="overflow: hidden; border: 0; width: 720px; height: 362px" 
    src="http://embed.movshare.net/embed.php?v=ksm4jw0p1e6yv" scrolling="no"> 
</iframe> 

this JSFiddle에서 라이브를 참조하십시오. 구글에서

0

예은 iframe :

<iframe src="http://embed.movshare.net/embed.php?v=ksm4jw0p1e6yv" style="border:0;width:720px;height:362px" frameborder="0"></iframe> 
:

<iframe class="gmap" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" 
src="https://maps.google.co.in/maps/ms?msa=0&amp;msid=212838658933937169734.0004f3360c6126926e728&amp;ie=UTF8&amp;ll=-6.947807,107.612513&amp;spn=0,0&amp;t=m&amp;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> 

이 코드에 대한 수정 사항입니다

관련 문제