Wednesday, 28 August 2013

How properly set background opacity in one line in style of body?

How properly set background opacity in one line in style of body?

How properly set background opacity with next:
<body style="background-image: url(images/background.jpg);
background-color: white;
background-position: center center; background-size: 100%;
background-repeat: no-repeat">
I try with:
background-opacity: 0.5;
But fail.
It should be something like:
background-image: url(images/background.jpg) opacity: 0.5;
Even,
opacity: .4;
Doesn't affect on image, but affect on the text and whole of body.
Solutions with div doesn't accepted.
My web page: http://shell.bshellz.net/~panzerdivision/
Browsers: firefox & chrome

No comments:

Post a Comment