Hi
What's the difference between margin-top and top?
I know margin-top can be used whenever whereas top can only be used if the element is absolutely positioned... but which is more commonly used and why?
Also would you recommend using relative positioning for my entire webpage? I will not have anything overlapping but I think if I position everything relatively I can add a footer to the bottom of the page. Pros/cons?
What's the difference between margin-top and top?
I know margin-top can be used whenever whereas top can only be used if the element is absolutely positioned... but which is more commonly used and why?
Also would you recommend using relative positioning for my entire webpage? I will not have anything overlapping but I think if I position everything relatively I can add a footer to the bottom of the page. Pros/cons?





