tags:

views:

85

answers:

4

Filters like

img {filter:flipV;}

I'm guessing are pretty old, I just was asked by a colleague why they weren't working for him in FF. I assume they were an IE only thing that died out a while back?

+4  A: 

Yes, it is IE-only. They didn't die-out, they were just a bad idea to begin with.

Diodeus
I totally agree.
Kyle Sevenoaks
I found out the hard way that there is a 4096-pixel limit on filters. If you apply them on anything larger (i.e. a modal screen overlay), they fail.
Diodeus
Specifically: IE 5.5.
bobince
+1  A: 

They were the only way to do some things in IE, for example PNG transparency in IE6...so they're still around. Web developers everywhere are hoping they die :)

Even in the latest jQuery UI files you can find it being used for Alpha transparency: http://dev.jqueryui.com/browser/trunk/themes/base/jquery.ui.theme.css

By no means are they gone...unfortunately. At this point, I'm hoping they don't stick something like this into IE9 and call it a "feature"...

Nick Craver
+1  A: 

They are pretty old and work only in IE. Bad, don't use them unless you are targetting only IE (not good again). There are some things in CSS3 not supported by IE, you can sometimes use these filters to get around things.

For example, box shadow effect can be easily done with CSS3 but IE again does not support that, you can use these filters for IE and normal CSS3 for other browsers to create a cross-browser solution.

Sarfraz
A: 

You may find this article interesting. While filter is IE only, there is a Firefox equivalent (opacity) which is part of the CSS3 recommendation.

klausbyskov
Thanks, I have seen this article :)
Kyle Sevenoaks
Correction: it's the equivalent for the *Alpha* filter only, `filter:` has a lot of other types, see here for a quick rundown: http://www.ssi-developer.net/css/visual-filters.shtml
Nick Craver
Note that the opacity in FF is ONLY equivalent to ONE specific filter, namely the alpha filter. The filter functionality in IE is alot more than just opacity.Edit: Nick beat me to it :-)
HaukurHaf