Quote
Opacity can be thought of conceptually as a post processing operation. Conceptually, after the element (including its children) is rendered into an RGBA off screen image, the opacity setting specifies how to blend the off screen rendering into the current composite rendering.
Simply, we use alpha(opacity=number) This number must be between (0.0-1.0)
Quote
Any values outside the range 0.0 (fully transparent) to 1.0 (fully opaque) will be clamped to this range. If the object is a container element, then the effect is as if the contents of the container element were blended against the current background using a mask where the value of each pixel of the mask is the alphavalue.
Quote
For CSS opacity to work in the browser it must have some placement specified. We used float:left; and that worked. Now we are trying position:relative; and that works too, but only in Mozilla Firefox. Also we use opacity as shown below
25,50,75 and 100 which will give us four different levels of opacity .
Finally,Here is an example to see the opacity gradient from 0.0 to 0.1. you can add this code to any image and see the difference between them.
<div style="width:250px;margin:0 auto;"> <span style="float:left;filter:alpha(opacity=25);-moz-opacity:.25;opacity:.25;"><img src="your image" width="50" height="50"></span> <span style="float:left;filter:alpha(opacity=50);-moz-opacity:.50;opacity:.50;"><img src=" your image " width="50" height="50"></span> <span style="float:left;filter:alpha(opacity=75);-moz-opacity:.75;opacity:.75;"><img src=" your image " width="50" height="50"></span> <span style="float:left;filter:alpha(opacity=100);-moz-opacity:1.0;opacity:1.0;"><img src=" your image " width="50" height="50"></span> </div>

















