Menu
Hi there! This is my question.
Let’s say I have two divs, div1 and div2. To define the top margin of div2 respect div1, I can do it in two ways using css.
top:20px;
margin-top:2%;
What’s the best way to do it?? I am sorry because I know this is a stupid question, but I want to know the main differences between those two ways.
Thanks a lot!