PDA

View Full Version : firefox CSS compatability


Replicant
25-10-2006, 02:41 AM
anyone know anything about CSS?

seems the following works fine in IE, but does nothing at all in FF:

<style type="text/css"> a:link img {filter:gray;} a:visited img {filter:gray;} a:hover img {filter:none;} </style>

(myspaz if you must know) the idea is that all linked images on the page are gray until mouse-over (but I guess if you clicked on this knowing about CSS you'd have figured that out :p )

but as I said, it doesn't work in firefox (or netscape, apparantally). Is there any other way to impliment this effect so it works in FF ?

thanks :)

Mist
25-10-2006, 07:35 AM
I think filter is a non-standard IE CSS extension, hence the not working.

Replicant
25-10-2006, 03:14 PM
know of any standard way to do the same thing? :)