要点:给html,body设置100%

<!DOCTYPE html>
<html>
<head>
<style>html,body{height:100%;margin:0;overflow:hidden}</style>
<title>hello iframe</title>
</head>
<body>
<iframe src=”【URL】” style=”width:100%; height:100%;” frameborder=”0″></iframe>
</body>
</html>