-moz-opacity doesn't use percentages. It goes from 0.0 to 1.0,
so 50% opacity would be -moz-opacity:0.5;
hth
mark
Andres Obrero wrote:
> a)
> moving quick the mouse several times over the table does not always
> apply the onmouseout, but if i remove the opacity in the style it works
> correct.
> b) why the opacity doesn't apply on textNodes below?
>
> what should I change?
>
> *************************************
>
> <style>
>
> .norm{ background-color:#DDDDFF;}
> .xhover{background-color:#FFDDFF;}
>
> .norm{ filter:alpha(Opacity=50); -moz-opacity:50%;}
> .xhover{filter:alpha(Opacity=100);-moz-opacity:100%;}
>
> .flom{ background-color:#DDDDFF; filter:alpha(Opacity=50);
> -moz-opacity: 50%;}
> .flom:hover{background-color:#FFDDFF;filter:alpha(Opacity=100);
> -moz-opacity: 100%;}
>
> </style>
> <body>
> <table width='100%'>
> <tr>
> <td class='norm' onmouseover='this.className="xhover"'
> onmouseout='this.className="norm";' ><img src='somepic'width='50'
> height='50'>haumichblau</td>
> <td class='norm' onmouseover='this.className="xhover"'
> onmouseout='this.className="norm";' >haumichblau</td>
> <td class='flom' >haumichblau</td>
> <td class='flom' ><img src='somepic' width='50'
> height='50'>haumichblau</td>
> </tr>
> </table>
> </body>
>