this is zeeshan. how can i take the margin of the div from top. when the div having the css margin:0 auto;
border:3px solid #d4d4d4;
Margin goes clock-wise. The first value is for top, the second value is for right, the third value is for bottom and the fourth value is for left. So if you add the code above, then you are telling the div to shift down by 50px from top.