471,610 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,610 software developers and data experts.

Black and white Images

I can't seem to find this anywhere on the web, so I figured I'd post the question here. I'd like to be able to define an image class in CSS to make all posted images black and white. For example, I would use this code if I wanted to change Opcaity of all of them to 50%:
Expand|Select|Wrap|Line Numbers
  1. img {
  2. filter:alpha(opacity=50); 
  3. -moz-opacity: 0.5; 
  4. opacity: 0.5;
Is their a code in css or javascript that will do something similar, but instead make the images black and white?

Nov 16 '07 #1
1 15010
7,435 Expert 4TB
No. .
Nov 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Stijn Goris | last post: by
12 posts views Thread by Penna Elabi | last post: by
1 post views Thread by Sandy | last post: by
1 post views Thread by retheeshnewage | last post: by
9 posts views Thread by George | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.