If you're concerned about it validating, use a conditional comment to
include an IE-only stylesheet with the filter in it. At least your non-
IE stylesheets will validate.
Also, note that for IE8, you'll need to use -ms-filter. So, in your IE
stylesheet, you'll have this:
#thumbs
That works Johan, thanks very much.
Doesn't validate, but I guess that's not the end of the world...
Thanks again.
Paul
2010/1/6 Johan Borestad johan.bores...@gmail.com
Hi Paul!
This is a case where you really don't even should use Javascript,
unless you're trying to do some fancy
Hi Paul!
This is a case where you really don't even should use Javascript,
unless you're trying to do some fancy animations. Rely entirely on CSS
with a simple css-rule
#thumbs li.selected {
filter:alpha(opacity=50);
opacity:0.50;
}
This will also be much much faster than any other
3 matches
Mail list logo