How to make so that the div was in the picture, and not under it?

<div class="category-posts-columns-content clearfix" style="width: 165px; height: 100%; float: left; padding: 0.3em;"> <h3 class="weekShowTitle" style="text-align:center"> <span >Monday</span> </h3> <div id="post-vidshows-all" class="large-post post type-post status-publish format-standard has-post-thumbnail" > <img src="img/12.jpg" alt="12" style="cursor: pointer; z-index = 0;"> <div style="z-index: 2; width:100%; height:auto;"></div> </div> </div> 
  • one
    for example, you can put the div id="post-vidshows-all" in position:relative and the desired position:absolute - Grundy
  • oh, yes, damn, even something came out of my head thanks a lot! - kidkat
  • one
    @Grundy answer was worth posting as an answer. even if it is short. - PashaPash
  • Since the answer is essentially to be rediscovered. - VladD

1 answer 1

One of the options:
put div id="post-vidshows-all" in position:relative styles
and the right position:absolute