Im strugeling to set a a:hover img opacity in IE8. Think Iv tried every possible solution now, gotten codeblind and can't figure this one out.
This is what I got:
THE HTML
It's tgpx code.Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> /*strict for Internet Explorer 8*/ ..... snip ..... <table class="effect" cellspacing="0" cellpadding="0" border="0"> <tr> <td> {foreach from=$hof var=$gallery counter=$counter} <div class="thumbbox"> <a href="xpgt/click.php?id={$gallery.gallery_id|urlencode}&l=thumb&g=default&u={$gallery.gallery_url|urlencode}" target="_blank" title="{$gallery.description|htmlspecialchars}"><img src="{$gallery.preview_url|htmlspecialchars}" border="0" alt="{$gallery.description|htmlspecialchars}" width="200" height="147"></a> </div> {/foreach} </td> </tr> </table>
THE CSS
I have tried to set a class on the anchor itself, the img tag and the td tag. To no avail in IE8. Have tried tons of diff ways here. The way I got it now works fine in FF and Opera but not in IE8. It used to work in IE6/7 but I havn't checked. I read somewhere that IE8 doesn't support pseudo classes like setting a hover on a img tag so I tried setting it on the a tag but IE8 didn't like that either. Lost here so any help and input is greatly appriciated.Code:.effect { margin:0px 0px 0px 2px; padding:0px 0px 0px 0px; } .thumbbox { float:left; width:203px; height:149px; margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; background:url('thumbback.png')no-repeat; } .thumbbox img { width:200px; height:147px; margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; } .thumbbox a:hover img { filter:alpha(opacity=80); /*for Internet Explorer 6/7*/ filter:"alpha(opacity=80)"; /*for Internet Explorer 8*/ -moz-opacity:0.80; opacity:0.80; }



Reply With Quote
Can someone see if they get any opacity with IE8 on thumb hover on 
