나는 css3please 사랑 :
<style type="text/css">
.box_scale {
width:300px;
height:300px;
-webkit-transform: scale(0.5); /* Saf3.1+, Chrome */
-moz-transform: scale(0.5); /* FF3.5+ */
-ms-transform: scale(0.5); /* IE9 */
-o-transform: scale(0.5); /* Opera 10.5+ */
transform: scale(0.5);
filter: progid:DXImageTransform.Microsoft.Matrix(/* IE6–IE9 */
M11=0.9999619230641713, M12=-0.008726535498373935, M21=0.008726535498373935, M22=0.9999619230641713,SizingMethod='auto expand');
}
</style>
<div class="box_scale">
<iframe width="300" height="300" src="http://example.org"></iframe>
</div>
규모를 선택 외에 유일한 것은 사업부에 너비와 높이를 추가하는 것이 었습니다. 물론 변환 원점에 대한 규칙을 추가 할 수도 있습니다. 참고 : https://developer.mozilla.org/en/CSS/transform
일부 PHP를 추가하면 iFrame의 크기 축소로 조정할 수 있습니다. – Peter
작동하지 않음 :(확실하지 않음, 누락 된 경우 확실하지 않음 iframe의 절반 크기이지만 전체 렌더링이 없음 .. – Nitesh
일부 사이트 (현재 mdn 포함)에 리디렉션이있는 것 같습니다. 코드를 전달하거나, 콘텐츠가 iframe에 * 표시 될 경우 콘텐츠를 숨기십시오. example.org로 변경 – JayC