Jump to content

[SOLVED] make div background transparent, but not contents


bigtimslim

Recommended Posts

What is the best way to make the background of a section of your page transparent, but not the other elements inside it, like text, links, images, etc?

 

this is what I'm currently using:

 

#menu {
float: left;
width: 760px;
height: 30px;
margin: 0px 0px 0px 50px;
border: 1px solid;	
/* for IE */
filter:alpha(opacity=25);
/* CSS3 standard */
opacity:0.25;			
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.