`

如何使iframe透明

阅读更多

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>父页面</title>
</head>

<body bgcolor="#FF0000">
<iframe src="index.htm"  allowTransparency="true"></iframe>
</body>

</html>

 

 

 


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>子页面</title>
<style type="text/css">
body
{
    background-color: transparent;
}
</style>
</head>

<body>

</body>

</html>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics