How to Implement IFRAME transparency and teach you to remove the background color!
The IFRAME element is used to embed a document in a document to create a floating frame. Embedded documents are a complete page with attributes such as HTML and body. In this case, if the style sheet defines the background color/background image for the body, all embedded documents will be inherited. So how to remove the background color and background image:
[1] Remove the background color: filter: chroma (color = white );
Example: <IFRAME width = "100%" Height = "400" marginwidth = "0" marginheight = "0" scrolling = "no" frameborder = "0" leftmargin = "0" topmargin =" 0"Style = "filter: chroma (color = white);" > </Iframe>
[2] Remove the background image:
Example: <IFRAME width = "100%" Height = "400" marginwidth = "0" marginheight = "0" scrolling = "no" frameborder = "0" leftmargin = "0" topmargin =" 0"Style = "filter: chroma (color = white);" allowtransparency = "true"> </Iframe>
Note: You must also add the body attribute to the embedded page:
<BodyBgcolor = "Transparent" style = 'background: transparent'>
OK! Success