View Full Version : Transparent Background but not text


Kodi
05-21-2003, 08:34 PM
<b>I can not find the right code to make my iframe background transparent and not my pictures and text. The codes I use to make it transparent are...</b>

<style type="text/css">
Body
{
background-color: #000000;
filter: alpha(opacity=50);
}
</style>

<b>And then in my iframe</b>

<iframe FRAMEBORDER="0" width=350
height=420 src="http://www.geocities.com/plehdnoyeb/Main.html" allowtransparency="true"
name=frame></iframe>


Anybody know how to keep my text and images solid? Any help would be appreciated :)

Lemon Squash
05-21-2003, 09:36 PM
Search the forum?.. (http://www.lissaexplains.com/forum//search.php?s=&action=showresults&searchid=67544&sortby=&sortorder=)

EmpTcaN
06-13-2003, 02:26 PM
i'm having the same problem.....
but it's really stinks that no one can gives you a staight answer when it comes to this

lefty
06-13-2003, 02:41 PM
There is a straight answer and it's been discussed hundreds of times, I'm sure.

If you use the opacity code, then everything will be translucent no matter what. The only sure-fire way to get it the way you want it would be to cut out part of your original image and set it as the background of your iframe, making it only appear that your iframe is transparent.

EmpTcaN
06-13-2003, 03:09 PM
so what you are trying to say is that, there are no ways to make just the text and scrollbar visible when it comes to iframes

lefty
06-13-2003, 03:29 PM
Besides the method I just stated, yes.

There are some codes out there that apparently work, but only work in higher browsers so I don't trust them.

EmpTcaN
06-13-2003, 03:43 PM
ok :)