
iframe 设置透明背景 5
<divid="pro_copy"><iframestyle="background-color:transparent"marginwidth="0"marginhei...
<div id="pro_copy"><iframe style="background-color:transparent"
marginwidth="0" marginheight="0" src="foot_pro.html" frameborder="0" noresize="noresize" width="500" height="91" scrolling="no" align="middle" ></iframe></div>
id="pro_copy" 我这个里面本来是有背景的但是加了iframe后,上面有白色背景,怎么把iframe设置透明背景啊! 展开
marginwidth="0" marginheight="0" src="foot_pro.html" frameborder="0" noresize="noresize" width="500" height="91" scrolling="no" align="middle" ></iframe></div>
id="pro_copy" 我这个里面本来是有背景的但是加了iframe后,上面有白色背景,怎么把iframe设置透明背景啊! 展开
1个回答
展开全部
父页面:在iframe加上:allowtransparency="true",如:<iframe src="..// " allowtransparency="true"></iframe>
子页面:在<body>加上:style="background-color:transparent",如:<body style="background-color:transparent">
子页面:在<body>加上:style="background-color:transparent",如:<body style="background-color:transparent">
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询