No replies
Last seen: 13 years 8 weeks ago
Joined: 2009-02-14
Posts: 7
Points: 0

I have problem with understanding margin inside inline element descent from div.

If I try to margin-top a

element which is descent of div it will move also div element if the margin of p is higher than margin of div. If it is smaller nothing happen.

So how I can make for

margin-top:70px if parent div is margin-top:50px without moving also this div for extra 20px? Or how I can move

20px down if it is inside this div? Is the only way to make for each element I want to use margin separate div which is not descent from any other div?

Thank you!