I am working on displaying one piece of content over another using Jquery slidedown as an overlay. Despite adding z-index properties, I am struggling to make it work.
My goal is to have the div with class "selection_nip" appear as an overlay on top of another element.
Apologies for any formatting issues.
Here is some HTML code:
<div id="ask_question_post_envelop" class="bottom_border_radius" style="position:relative; z-index:10;">
<div class="selection_nip" style="display:none; position:relative; z-index:1000;"></div>
<span id="arrow-dashboard" class="arrow-dashboard"></span>
<div id="avatar-wraper" class="avatar-wraper">
<a href="#" class="post-avatar" id="" ><img id="avatar-img" src="<?php echo $user_data['photo'];?>" border="0" alt=""></a>
</div>
<div id="form_wrapper_question" class="form_wrapper_question" >
<!-- THIS IS WHERE ALL FORMS GO -->
</div>
<div id="" class="question-page-form_wrapper" name="profile_identifier" style="position:relative; z-index:10;">
<div style='height: 0px;width: 0px; overflow:hidden;'>
<input id="profile_id" type="text" name="profile_id" value="<?php echo $profile_data['user_id']; ?>"/>
</div>
</div>
</div>