Log in

View Full Version : Help!!! Its Important Read!!!!!! Please!!!



EricPepper
04-10-2006, 01:25 PM
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

Samsoske
04-10-2006, 03:41 PM
Well, Just take the <style> img { filter:grey; }</style> code away.....?

Then all the images should be back in color.

jscheuer1
04-10-2006, 03:59 PM
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:


img.gray {
filter:gray;
}

Then apply this only to the images that you want gray:


<img class="gray" src="whatever.jpg">

OR, you could create a cancelling id for the one image:


#color {
filter:;
}


<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.

Xiong Chiamiov
04-14-2006, 07:42 PM
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...