tiger86 16 Posting Pro

this code supposedly makes the transparent code that only works in ie work in Internet explorer, Firefox, and Opera. I have not tried it myself but found it online and thought others might like to try it out

<div style="display:block;  height:150px;  width:200px;  background:#00FFFF">
<div style="color:yellow;  height:100px;  width:150px;  background:#000099;  filter:alpha(opacity=50); -moz-opacity:0.5; opacity:0.5;  -khtml-opacity:0.5; font-size:1.3em;  padding:5px">
At 50% filtered opacity, this is the box
</div></div>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.