I have some divs at my HTML and one of them is loading image div so I want it overlap its parent div. Here is my code:
<
Why doesnt this work for you? If i understand you right, you just want to mask the parent DIV with the child DIV?
Output on chrome:
To make it generic, get the parents position/dimension using offsetTop/Left/Height/Width methods and set the child's dimensions/position using these, im sure there are plenty of posts on SO that do this..