Background CSS?

liunx

Guest
I have some backgrounds but if I wanted that particular background in a different color would I just change the color in CSS or have to change it in Photoshop?

Ok here are two examples for clarity purposes.

Let's say I wanted the curve_example to be red instead of orange

and/or

I wanted the sideline_example to be blue instead of green.

How would I accomplish this.

Thanks!! :)If it is an image then you change it with an image program and not CSS.The only way you could approach that using CSS would be to make the "colored" sections of the backgrounds transparent then specify a color for the background, too. E.g. if your first one was white and transparent then you could try:

background: #ce6300 url(Curve_example.gif) repeat-y;

Then to change the effect to red,

background: #f00 url(Curve_example.gif) repeat-y;The only way you could approach that using CSS would be to make the "colored" sections of the backgrounds transparent then specify a color for the background, too. E.g. if your first one was white and transparent then you could try:

background: #ce6300 url(Curve_example.gif) repeat-y;

Then to change the effect to red,

background: #f00 url(Curve_example.gif) repeat-y;
Interesting idea. Can't wait until I'm bored some day and decide to try that. :)Well I sure as heck wouldn't let it get in the way of a good margarita. :D
 
Back
Top