Padding and margin are elements that control the amount of space around objects. Padding references space between the object and the border around the object, while margin references space between the border and other objects' margins and/or borders.

See this stackOverflow post on the topic.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.