I can create an iframe that takes up the whole screen. But I can not make the contents of the background hidden. In other words, I want the iframe to be opaque. I am currently trying to do the following:
<iframe name='myifrmae' allowtransparency = 'false' background= '#FFFFFF' id = 'myiframe' src = 'main.html' style='position:absolute; top:0px; left:0px; width:400px; height:100%;z-index:999' onload = 'sendParams();'' frameborder='no'> </iframe>
I am testing this on Firefox / 3.5.6.
Am I doing something wrong here?
UPDATE: I passed BGCOLOR = "#FFFFFF" to the body of main.html, now it works fine. Thanks for your details!
source share