# Spacing Out Controls

> Controls and containers can be spaced out using the attributes in the **Margin** and **Padding** sections.

Controls and containers can be spaced out using the attributes in the **Margin** and **Padding** sections.

Margins provide spacing around the controls.

![docs image](https://dev-assets.cms.uipath.com/assets/images/studio-web/studio-web-docs-image-95456-a97c2c86.gif)

Paddings provide spacing between the control and the content within it.

![docs image](https://dev-assets.cms.uipath.com/assets/images/studio-web/studio-web-docs-image-92736-3d102a7c.gif)

To detach the **Top/Bottom** and **Left/Right** values and set them independently, click the **Link** button at the right of the **Margin**/**Padding** section.

:::note
You can set the margin and padding of **Container** controls, while for the majority of the controls you can only set margin.
:::
