DHL:iframe透明,显示背景

  <table width="240" border="0" cellspacing="0" cellpadding="0" style="border-left:#74CC7D solid 1px; background-color:#FFF;border-right:#74CC7D solid 1px; height:220px;background-image:url(http://dial.koocall.cc/Content/images/chat/donghua.jpg); background-position:right bottom; background-repeat:no-repeat;">
  <tr>
    <td>
        <iframe id="olEditor" width="99%" height="200"  scrolling ="auto" frameborder="0" allowtransparency="true" marginHeight="0" ></iframe>
   </td>
  </tr>
</table>  

<script>

 parent.olEditor.document.body.style.background="transparent";

 </script>

posted @ 2010-07-07 10:20  肚肚  阅读(219)  评论(0编辑  收藏  举报