Solution:
IE5.5 began to support transparent content of the floating framework. To define transparent content for a floating framework, the following conditions must be met.
1. The allowTransparency label attribute used with the iframe element must be set to true.
2. In the iframe content source document, the bgColor label attribute of the background-color or body element must be set to transparent.
Procedure:
1. Code containing the framework page.
<Body bgColor = "# eeeeee">
<Iframe allowTransparency = "true" src = "transparent.htm">
</Iframe>
2.transparent.htm Page code.
<Body bgColor = "transparent">
Transparent iframe document
This example mainly applies the allowTransparency attribute of the iframe object. iframe will be transparent when this attribute is set to true and the background color of the pages contained in the iframe is set to transparent (transparent.
Set or retrieve whether the object can be transparent.
BgColor sets or gets the background color of an object.