View Full Version : Need Help w/ Iframes & Opacity!
silentchaos
04-28-2003, 05:15 PM
Is it possible to make the inside of an Iframe transparent? I've seen others do this before, and I was wondering if they just did it on their paint programs or if there's an actual script to use.
Thank you,
Kylee
Mhtml
04-28-2003, 05:26 PM
It's done using CSS.. To learn more about it go to http://www.w3schools.com/css
<style>
iframe {
filter:alpha(opacity=30);
}
</style>
silentchaos
04-28-2003, 05:27 PM
Thank you so much! :D
cg9com
04-28-2003, 09:17 PM
I think that will only work in IE, here is a thread discussing:
http://www.codingforums.com/showthread.php?threadid=19065
Arctic Fox
04-29-2003, 12:52 AM
Transparent iFrames work using the CSS filter property in IE5.5+, but you must assign a width property to the CSS code for it to show up:
<style>
iframe {filter:alpha(opacity=30); width:300px;}
</style>
Iframes will not be transparent in IE5.0, though....
Just FYI. :D
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.