Pls what’s the difference between setting display to block and setting position to absolute when moving an element.
Absolute is a position property (the Where) that allows you to stipulate the location of something.
Block is a display property (the How) that impacts how it gets displayed.
I’ll also add that when you use absolute positioning on an element then that element’s display type doesn’t really matter any more.
Thank u all very much. I really appreciate
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.