When positioning html elements by inputing margin values, so does the object always moves relative to walls?


#1

When positioning html elements by inputing margin values, so does the object always moves relative to walls?
or it can also move with respect to any other object??


#2

I wrote this extensive answer long ago, please read it, if after that you have any questions, i am happy to assist


#3

thanks codeacademy, and the top and bottom , left,right was some new information.


#4

I know it is new, but it is (IMHO) crucial to understand positioning better. Do you understand it now? Or you still have questions?


#5

i cant say that i understood that completely....but i think i understood enough to put this knowledge at use.....


#6

This is one of the trickier, and more important things in css. What did you not understand? If you could show some code, and explained why you didn't understand, i am happy to elaborate on it. You can also use the bins i used, just copy the url of the bin to the forum after you made changes.