I am making a web-site, and I have to make my background images darker.

http://jsfiddle.net/EveBozh/48ah63bp/

And one more. How can I put the text on the image?

Can someone please help me? Thank you!

Member Avatar

diafol

THe fiddle doesn't show anything. Pretty pointless.
Can you use an image editing program to darken the image and serve that? That will avoid having to make an on-the-fly transformation on page loads. Also is the text static? If so perhaps having a static image with the text on it would be easier. You don't give an info with regard to your needs so difficult to suggest a solution.

You can apply text server side with php's gd commands.
You can over lay text very easily using css /js.
JS libraries can use darken as can css.

So more info please.