Results 1 to 4 of 4

Thread: Help!!! Its Important Read!!!!!! Please!!!

  1. #1
    Join Date
    Mar 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help!!! Its Important Read!!!!!! Please!!!

    Hello. I am part of a profile site like myspace, where you upload a display picture and etc.

    Here is my problem EVERYTHING in my profile is in grayscale, but I want my display picture in color.

    I used a code to make EVERYTHING gray but I want my display picture color and nothing else.

    Is there a code that can put it in color.

    *NOTE: I uploaded the image in color:

    Is there a code that I can put the url of the picture in the place where I put the html etc into, that will change it to color?

    Please Help me Please.



    The code I use to change everything to gray

    <style> img {filter:gray;}</style>

    My profile line IS

    http://www.myyearbook.com/steviee/

    The profile will ONLY work with Microsoft Internet Explorer /AOL.


    I NEED THIS ASAP

  2. #2
    Join Date
    Mar 2006
    Location
    Somewhere....
    Posts
    88
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, Just take the <style> img { filter:grey; }</style> code away.....?

    Then all the images should be back in color.

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well, that would work except then all the other images that are wanted to be gray would be in color as well. However, this really is the solution but, in addition to removing that styling from the page, the images that are desired to be grayscale should be edited in an image program to actually be grayscale. This will require the least bandwidth. Another solution would be to create a class for the other images:

    Code:
    img.gray {
    filter:gray;
    }
    Then apply this only to the images that you want gray:

    HTML Code:
    <img class="gray" src="whatever.jpg">
    OR, you could create a cancelling id for the one image:

    Code:
    #color {
    filter:;
    }
    HTML Code:
    <img id="color" src="whatever.jpg">
    Still, the best idea is to get rid of the filter altogether and just edit your images to appear as you wish in an image program.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Mar 2006
    Location
    SoCal, USofA
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by EricPepper
    Hello. I am part of a profile site like myspace, where you upload a display picture and etc.
    Not that I could tell from the title of your thread...

Bookmarks

Posting Permissions

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