Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Hey,

    Can you override any colours in an image to make it black and white (greyscale to be technical) using pure CSS?

    I don't mine using stuff like filter:something; or 'IE-only' stuff (in quotes because it works in my Firefox).

    Thanks a lot!
    tekp :cheeky: tekponline.com

  2.  

  3. #2
    Member
    Join Date
    Dec 2005
    Posts
    92
    Member #
    12042
    im about 99.9999% sure its a no. css is for layout only, to have the image greyscale you will need to edit it in soemthing like fireworks or photoshop

  4. #3
    Senior Member hyperair's Avatar
    Join Date
    May 2005
    Posts
    452
    Member #
    9892
    there is such a css feature. but only works in ie.

    img { filter: gray; }

    for more filters check: http://www.fred.net/dhark/demos/css/..._examples.html
    Hyperair

  5. #4
    Member
    Join Date
    Dec 2005
    Posts
    92
    Member #
    12042
    well if it only works in IE then its not really css :P

  6. #5
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Ok thanks for your help.

    tekp :cheeky: tekponline.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

making images black and white in cssa

Click on a term to search for related topics.
All times are GMT -6. The time now is 06:23 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com