Click here to Skip to main content
16,020,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys

I make a flash gallery when I click on any image it appears in iframe (lightbox), this page background appears transparent in Firefox and chrome, but on IE 7 & 8 the background is white colour can I make it transparent in IE browsers

http://madison-digital.com/cadrans/gallery.html[^]

Thanks in advance
Posted

XML
<IFRAME src="albumtree.php?albumName=<?=$albumName?>" width="100%" height="100" frameborder="0" TRANSPARENCY="true">
</IFRAME>


This should do the trick.

BR//
Harsha
 
Share this answer
 
it does not work still the background white on microsoft internet exploers
 
Share this answer
 
MIDL
iframe {
  background-color: transparent;
}


According to MSDN this is worng, though it looks like its correct.

Generally a DOM property called TRANSPARENCY is to be set to true as IE considers it as false by default.

<IFRAME src="albumtree.php?albumName=<?=$albumName?>" width="100%" height="100" frameborder="0" allowTransparency="true"</IFRAME>


THis should solve the problem.

Usually setting of TRANSPARENCY=true will solve the problem. If it wont then using of allowTransparency=true should be the solution for your problem.

BR//
Harsha Narayana
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900