View Full Version : Partially Transparent Background


Rosekeet
01-22-2003, 11:03 PM
I know how to make a background on a page transparent so if it's in a frame the frames background shows through. Is there a way to filter it so the frames background will only show partially through?

Alcy
01-22-2003, 11:28 PM
Is this what you're looking for?

This'll only work in Internet Explorer:
<style type="text/css">
body
{
filter:alpha(opacity:#);
}
</style>

The # has to be between 0 and 100. The lower the number, the greater the fade.

Rosekeet
01-22-2003, 11:52 PM
THANK YOU! You're my hero! *hugs Alcy*
Alcy: *turns blue*

Rosekeet
01-23-2003, 12:10 AM
WAIT!!!!!!!!! This is NOT what i wanted. Is there a way to make just the BACKGROUND transparent, not the entire page?

Alcy
01-23-2003, 12:21 AM
Hehe... yeah, I know. It does that. Wouldn't it be easier to fade the background in a graphics program?

Rosekeet
01-23-2003, 11:56 PM
*sigh* yeah... it just looks kinda bad when i do that... how do i make a BACKGROUND totally transparent then?

Alcy
01-24-2003, 12:00 AM
Totally transparent? Couldn't you just not use one then? Or set the opacity to zero....

Rosekeet
01-24-2003, 12:13 AM
yes! that! can you give me the code pwease?

Alcy
01-24-2003, 12:18 AM
<style type="text/css">
body
{
filter:alpha(opacity:0);
}
</style>