Jump to content

Css:Visual filters and Opacity

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
atheium

atheium

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 298 posts
After looking for a javascript tutorial on side-scrollers i found this bit of code in an example:

filter:chroma(color = magenta);
the example explained, it takes the color you declare and makes it transparent to the browser. this one worked in FF.

so, naturally i went to my bff online google and found this:
CSS Guides: IE CSS Visual Filters, SSI-Developer.net

Only in IE? this sucks! there has to be something for firefox that does something similar!

further investigation led me here:
CSS Transparency Settings for All Browsers | CSS-Tricks

This is absolutely ridiculous! what would be so hard about standardizing the way opacity is declared?
secondly why haven't the visual filters been implemented into Firefox and others?
11ism.com <my meaningless empty website, HORAH now with link! (thx gamemaker)

#2
NastyDevil

NastyDevil

    Learning Programmer

  • Members
  • PipPipPip
  • 90 posts
Its not hard to standardize, they just don't care because they are still making a lot of money; so they simply don't bother. And Firefox is a much stricter browser, it is much easier to develop for FF then IE. The worst thing i encountered so far tho is making rounded corners in IE: Firefox takes 1 line and IE has to use a whole JS function of like a page to do the same.

#3
Howdy_McGee

Howdy_McGee

    Programmer

  • Members
  • PipPipPipPip
  • 135 posts
I don't know a lot goes into standardizing.

Browsers have to re-release a new browser to deal with this new standard. Every browser. Which is a lot of trouble that isn't worth it for only 1 standard.

A good way to make round corners what I've always done is making an image exactly the width/height I need and making it a background image for a div. Hopefully w/ HTML 5 coming out in the next... umm... 5 years? it will be easier to do rounded borders (border-radius!)