Please tell me - is div-block displacement by margin-top, margin-left...etc equivalent to div-block displacement by top= left= ....etc? (I mean - for relative-placed blocks)
Thanks for your answers!))
Jump to Post
Visually yes, but no. Margin is part of the box model, while the top and left properties interact with elements a little differently, and typically require the element to be removed from the normal flow of the page.
relative-placed blocks? Do you mean relatively positioned block level elements?
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.