Changes

Jump to: navigation, search

CSS GUIDE -MOZ-OPACITY

391 bytes added, 18:15, 14 December 2006
Usage
<pre>
<IMG style="-moz-opacity:0.6" src="alta.gif" onMouseover="this.style.MozOpacity=1" onMouseout="this.style.MozOpacity=0.6">
</pre>
 
*For CSS opacity to work in the browser it must have some placement specified. Mozilla recommends that we use float:left; and position:relative; to work in Mozilla Firefox. The opacity code for simply displaying an image is more straightforward.
 
<pre>
<span style="float:left;filter:alpha(opacity=25);-moz-opacity:.25;opacity:.25;"><img src="v90.gif" width="50" height="50"></span>
</pre>
1
edit

Navigation menu