Transparent iframes in internet explorer
DubberDan
Joined: 2005-04-12
Posts: 29 |
Posted: Mon, 2005-10-31 17:19 |
I've got iframes embedded into the front page of my gallery for the sub-albums and have set the background to be transparent so the background clour shows through. This works fine in Firefox but in IE they are showing with a white background. I'm currently coding my standalone_style.css with: Quote:
/*iframe config details*/ and the iframe is calle dup in albums.php with: Quote:
<iframe src="albumtree.php?albumName=<?=$albumName?>" width="100%" height="100" frameborder="0"></iframe> How do I get the transparancey working in IE? The following information is required to get an answer: |
|
Posts: 29
Any one?
Posts: 27300
Why not edit the albumtree.php to have the background color you desire?
or the CSS to the color you want.
Dave
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 29
Ah, well I would do that but the iframes are set within a page that has a graduated background, so if the background is set to a colour then it won't fit the rest of the page properly, hence wanting to make it transparent.
Posts: 27300
does this work:
<IFRAME src="albumtree.php?albumName=<?=$albumName?>" width="100%" height="100" frameborder="0" ALLOWTRANSPARENCY="true">
</IFRAME>
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 29
Nice one that did it. I'd tried just transparency="true" but not allowtransparency=
Thanks again
Posts: 1
<IFRAME src="albumtree.php?albumName=<?=$albumName?>" width="100%" height="100" frameborder="0" ALLOWTRANSPARENCY="true">
</IFRAME>
this does work but it does not pass the wc3 test.
Posts: 1
I realise this is an old thread but what can I do if I want to achieve the same result as DubberDan whilst still have the code pass the W3C validation test?