z-indexthe property only works on non-static positioned elements. those. you need to use one of the positions relative, absoluteor fixedfor an element.
In this case, you probably need a position: relative;CSS declaration .
, , z-index .
#some .fadeTo(), #content ( )
$(".button").click(function(){
$("#content").find(':not(#some)').fadeTo(500,0.5);
});
HTML
<div id="content">
<div id="some"></div>
<p>This is a paragraph</p>
<a href="">A link here</a> <br>
<img src="http://placehold.it/50" alt="may be an image here">
</div>
.