# Layout

*noun*

say it: **“LAY-owt”** **/ˈleɪaʊt/**

The step where the browser works out how big every box on a page is and where it goes. It also means the arrangement you choose for those boxes: rows, columns, side by side or stacked.

## What is **layout** in the browser?

**Layout** is the step where the browser works out the size and position of every box on the page.

```javascript
const el = document.querySelector(".card");
el.style.width = "300px";
console.log(el.offsetHeight);   // forces layout to run now
```

## In a sentence

- “When I made the photo bigger, the browser redid the **layout** and the caption moved down.”
- “The bike shop's **layout** puts the filters in a column on the left and the bikes on the right.”

Level: Master · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=5)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/layout
