Most pages that look untidy have good content and a few small layout faults: edges that almost line up, gaps that are almost equal, five things competing to be read first. You do not need a designer’s training to fix these. You need four habits, and a builder that helps you keep them.
1. Line things up
The eye notices a shared edge at once. When a heading, a paragraph and a button all start at the same left position, the page reads as one column, and the reader’s eye travels straight down it. When each starts a few pixels away from the others, the page looks accidental, even if nobody can say why.
- Pick few edges. A simple page needs two or three vertical lines that everything hangs from: the left edge of the text, the left edge of a second column, perhaps a right edge for images.
- Prefer left alignment for text. In languages read from left to right, each new line starts where the eye expects it. Centred text is fine for a short heading, and tiring for a paragraph.
- Align across, too. Items in a row should share a top edge or a centre line.
2. Space things evenly, and use space to group
Space is how a page says what belongs together. Things that are close read as a group, and things that are far apart read as separate. Two rules follow.
Keep related things close. A heading should sit nearer to the paragraph it introduces than to the paragraph above it. A caption belongs right under its picture. A common fault is equal space everywhere, which leaves the reader to work out the groups alone.
Use a small set of gaps. Choose three or four sizes, each roughly double the last, such as 10, 20, 40 and 80 pixels: the small one inside a group, the middle ones between groups, the large one between sections. When every gap on the page is one of those four, the page looks deliberate. When gaps are 13, 22 and 37, it does not.
3. Decide what is read first
A visitor gives a page a few seconds before deciding whether to stay. In that time they should see one thing clearly: what this is. That is the job of hierarchy, which means making the important things look important.
- One thing is biggest. Usually the main heading. If three things are the same large size, none of them leads.
- Make differences obvious. A heading only slightly larger than the text looks like a mistake. Make it at least half as big again.
- One main button per screen. Give the action you most want a solid colour, and make the others plainer.
- Try the squint test. Half close your eyes, or step back from the screen. What you can still make out is what your visitor sees first. If it is not the most important thing, change the sizes.
4. Limit fonts and colours
Restraint is the cheapest way to look professional. Use one typeface, or two at most, in two or three sizes and two weights. For colour, choose a background, a text colour with strong contrast against it, and a single accent for buttons and links. Then use the accent only on things people can click, so that colour itself becomes a signal.
Check contrast with real text, not a guess: pale grey words on a white background are the most common reason a page is hard to read on a phone outdoors.
Doing this in SiteBuilder
SiteBuilder has a tool for each habit, all in the top bar or the panel:
| Habit | Tool |
|---|---|
| Shared edges | Smart guides snap an element to the edges and centres of its neighbours and of the page as you drag |
| Even gaps | Snap to grid, with a grid of 10, 20, 40 or 50 pixels, and Distribute evenly for a selected row or column |
| Tidying a group | Select several elements, then Align left, centre, right, top, middle or bottom |
| Consistent type and colour | Style all selected sets the same colour, size or weight on everything you have selected |
| Exact positions | Type X, Y, width and height in Properties |
A practical way to use the grid: set it to 10 pixels, switch on Snap to grid, and every position and size you drag becomes a multiple of ten. Your gaps then come from the small set described above without any arithmetic.
A five-minute tidy-up
- Switch on the grid and look for edges that nearly line up. Make them line up.
- Select each row of similar items and distribute them evenly.
- Move every heading closer to the text it introduces.
- Squint. Enlarge the one thing that should lead, and shrink whatever competes with it.
- Count your colours and type sizes, and remove one of each.
None of these steps adds anything to the page. Layout improves mostly by removing small disagreements, and a page with fewer of them is easier to read on any screen.