Implementing this task may seem easy and common, but I am struggling to figure it out! What should take five minutes has turned into an hour of frustration. Please lend me your expertise in getting this done.
I have a div container block:
<div class="wrapper_div">
//some other divs here
</div>
Along with the following CSS style:
.wrapper_div{
margin: auto;
width: 1000px;
height: 545px;
}
Despite its simplicity, I can't seem to overlay this div when making an AJAX request. All I need is to display a loader animation (gif) at the center of this div block and overlay it with a grey background, for example.
Please provide the solution as requested. Thank you.
EDIT
Apologies for the confusion earlier - the problem does not lie in AJAX, but rather in the CSS and HTML layout. I'm struggling to create the correct layout.