Margin & padding are settings used to create space between and inside elements.
Margin is the space outside of a box. On STUDIO it is orange.
Padding is the space inside a box. On STUDIO it is green.
You can set margin & padding by:
Dragging the orange or green label at the center of each border of an element.
Selecting an element and setting a precise value from the Style bar.