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

# Aligning page elements

**Page elements** in a PADS4 Designer page can be aligned **relative to each other** or aligned **to the grid** for a precise and consistent layout.

***

## Aligning Page Elements to Each Other

1. **Select at least two page elements.**\
   (See *Selecting Page Elements* for detailed instructions.)

2. **Make one element the primary selected item** (the reference for alignment).

3. Click **Align** on the **Elements** menu.

4. Choose one of the following alignment options:

| Menu Item   | Function                                                                                     |
| ----------- | -------------------------------------------------------------------------------------------- |
| **Lefts**   | Aligns all selected elements horizontally to the **left** of the primary selected element.   |
| **Centers** | Aligns all selected elements horizontally to the **center** of the primary selected element. |
| **Rights**  | Aligns all selected elements horizontally to the **right** of the primary selected element.  |
| **Tops**    | Aligns all selected elements vertically to the **top** of the primary selected element.      |
| **Middles** | Aligns all selected elements vertically to the **middle** of the primary selected element.   |
| **Bottoms** | Aligns all selected elements vertically to the **bottom** of the primary selected element.   |

***

## Aligning Page Elements to the Grid

1. **Select** the page elements you want to align to the grid.

2. Click **Align** on the **Elements** menu, then select **To Grid**.

***

## Remarks

* **At least two elements** must be selected to enable the alignment functions relative to each other.
* If **Snap to Grid** is already enabled, using **Align to Grid** will **have no additional effect**, as elements will already align to the nearest grid points when moved or resized.
