The background color of Iframe In the tutorial (www.bkjia.com) is the current window color in IE (white by default, you can set it in the display appearance ), this causes the iframe to be inserted in a large background to be "Transparent", but IE does not support setting the background color for iframe. What should I do?
The solution is as follows:
Step 1: Set allowtransparency = "true" in iframe ";
Step 2: Set the background: # transparent of the body on the iframe display page (this step can be omitted in IE7)
Out of curiosity, I am curious about the default color of IE, FF, and Opera window browsing. Both IE and Opera use the background color of the System window as the background color of the window browsing, in addition, the iframe background color is not supported. Only FF uses white as the background color of the browser window.