> ## Documentation Index
> Fetch the complete documentation index at: https://docs.landerlab.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Control Spacing with Margin and Padding

> Adjust margin and padding to control spacing, improve readability, and create clean, well-structured landing page layouts.

The Spacing section controls the **space around and inside elements**. This helps you create clean layouts and proper separation between content.

You can find it in the **right-side panel** when selecting any element.

***

## Where to Find It

1. Select an element on the canvas
2. Open the **right panel**
3. Scroll to the **Spacing** section

<Frame>
  <img src="https://mintcdn.com/landerlab-babdc23f/OxODOtVy1KOg0VAr/images/spacing.png?fit=max&auto=format&n=OxODOtVy1KOg0VAr&q=85&s=2de2e4ae08c84d93f1d5f5ca557c81cd" alt="Spacing" width="1306" height="988" data-path="images/spacing.png" />
</Frame>

***

## Margin vs Padding

### Margin (Outer Space)

* Controls space **outside** the element
* Pushes the element away from other elements

### Padding (Inner Space)

* Controls space **inside** the element
* Adds space between the content and the element’s edges

***

## How to Adjust Spacing

You can control spacing for each side:

* Top
* Bottom
* Left
* Right

Each side can be adjusted independently.

***

## Quick Controls

### + / – Buttons

* Increase or decrease spacing by **5px steps**
* Fast way to fine-tune layout

### Manual Input

* Click on a value to type a custom number
* You can also choose from quick presets like:
  * 0
  * 10
  * 20
  * 40
  * 60
  * 100
  * 140

### Auto Option

* Lets the system automatically manage spacing (mainly used for alignment

<Frame>
  <img src="https://mintcdn.com/landerlab-babdc23f/OxODOtVy1KOg0VAr/images/Screenshot2026-03-25at10.25.43AM.png?fit=max&auto=format&n=OxODOtVy1KOg0VAr&q=85&s=2b3771da97501a466738d7952afc4702" alt="Screenshot 2026 03 25 At 10 25 43 AM" width="342" height="350" data-path="images/Screenshot2026-03-25at10.25.43AM.png" />
</Frame>

***

## How It Works (Example)

* Margin Top → `20px`\
  👉 Adds space above the element
* Padding Left → `10px`\
  👉 Pushes content inside away from the left edge

***

## Best Practices

* Use **margin** to separate elements
* Use **padding** to improve readability inside elements
* Avoid too much spacing — keep layouts balanced
* Use + / – for quick adjustments instead of guessing values
