iframe透明
iframe背景不透明实在是不方便,实现其背景透明,但是里面的文字,内容啥的不透明,方法如下:
1、在主页面iframe中添加如下代码
<iframe width="900" height="50" scrolling="no" frameborder="0" allowtransparency="true" src="tit.html"></iframe>
2、在被嵌套的页面的body添加如下:
<body style="background-color:transparent " >