aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes css  query: image opacity Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "css  query: image opacity" Watch "css  query: image opacity" New topic
Author

css query: image opacity

devika cha
Greenhorn

Joined: Dec 17, 2003
Posts: 23
How do i make an image look faint in color or look very light in color inspite of original image being bright color?

Is there a way atleast???
[ February 23, 2005: Message edited by: Bear Bibeault ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
Easiest solution is to use two images, but you can do a search for filters.
Google:css filter image

Eric
Eugene Lucash
Ranch Hand

Joined: Feb 19, 2005
Posts: 77
Filters are good solution for this, but it works in IE only.
devika cha
Greenhorn

Joined: Dec 17, 2003
Posts: 23
thanks for your replys.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56204
    
  13

The following style class definition works on all modern browsers that I tested except for Opera and OmniWeb:



The filter rule applies for IE (Windows and Mac), and the opacity rule applies for Safari, Mozilla, Firefox and Netscape.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: css query: image opacity
 
Similar Threads
Is this even possible in Java? Overlaying multiple images with alpha channels
Modify color of jQuery UI dialog?
Firefox, CSS and background-image
How optimize paintComponent?
How to remove red color from selected image area ?