<html>
<head>
<style>
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
overflow: hidden;
}
</style>
</head>
<body>
<iframe src="http://gongkai.kaipuyun.cn/databaseInfo/index" width='100%' height='100%' frameborder='0' name="_blank " id="_blank "></iframe>
</body>
</html>
效果图:
当发现一个iframe嵌套的页面不可以编辑的时候,解决办法是:
<html>
<head>
</head>
<body>
<iframe src=""001.htm"" id=""SendMsg"" width=""100%"" height=""120px"" ></iframe>
<script>
document.getElementById(""SendMsg"").contentWindow.document.body.contentEditable= "true";
</script>
</body>
</html>