I have 2 types of divs
<div class="target_div" id="t1"> </div>
<div class="target_div" id="t2"> </div>
<div class="target_div" id="t3"> </div>
<div class="target_div" id="t4"> </div>
<div class="child_div" id="c1"> </div>
<div class="child_div" id="c2"> </div>
<div class="child_div" id="c3"> </div>
<div class="child_div" id="c4"> </div>
Using Jquery , say I want to position c1 over t1 , so that their top left corners match always , how do I go about doing this ? I want c1 to stick to t1 no matter what ... page resizing , scrolling.. in all cases .
I am creating a card game , and I want to drag drop and place the cards from the footer and place in the divs numbered 1-13 . Hence the question.
In the picture , t1,t2... etc are the divs with numbers 1-13 . c1,c2 etc are the cards lying on the footer.