IFrame Background Image not show in IE6 and IE7
-
10-07-2019 - |
Question
i need help . its work ok in firefox or Opera. the problem is in ie. i try to put it in style file , or inline style but not effect.
Solution
Have you tried setting allowTransparency="true" on the iframe and setting the background color of the document body of the child frame to transparent?
See the MSDN documentation on allowTransparency:
http://msdn.microsoft.com/en-us/library/ms533072(VS.85).aspx
OTHER TIPS
in researching this issue, some posts used ALLOWTRANSPARENCY in all caps. ie7 (in ie9 developer tools) didn't respond to it until I camelcased it to "allowTransparency".
For what it's worth.
Try this .. it should work(tested in IE/Firefox/Google Crome)
<div><img src="a.JPG"></div>
<div>
<iframe style="display:none" width="325" height="276" frameborder="0" scrolling="auto"></iframe>
</div>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow