CYBERDZYNES Independent digital design magazine

Tools & Workflow / Field notes

When to capture the screen and when to measure

Use the screenshot to show the symptom and the browser inspector to narrow down what caused it.

A capture records the spacing the eye sees; the inspector shows whether the layout boxes actually moved.

An issue report says the event cards have uneven spacing. The attached image shows that something looks off, but the first instinct, increasing the grid gap, may change every card without fixing the awkward one. Before opening the stylesheet, work out which edge the eye is following and which edge the layout engine is positioning.

Take a capture someone else can reproduce

Keep the row above and below the problem in the first screenshot. The larger view can reveal whether a card is competing with a section heading or whether a shadow makes the gutter look narrow. Make a crop for discussion only after saving that context. Mark the two edges that look too close; a circle around the whole module leaves the next person guessing.

In the issue, record the page, viewport dimensions in CSS pixels, zoom, browser and relevant state. If the problem appears after a filter selection or only before the web font arrives, include that step. Don't measure CSS spacing with an image ruler on an attachment that may have been resized by the issue tracker.

Name the boxes before subtracting

Select both cards in the browser inspector, checking that you're measuring equivalent elements rather than a card in one column and its image in another. Compare the grid overlay and computed gap with the space between the cards' rendered borders. For side-by-side boxes, subtract the left card's right edge from the right card's left edge using their getBoundingClientRect() coordinates.

Those rectangles are viewport-relative and reflect transforms; compare both in the same state. A rectangle describes the element's box geometry, not every painted pixel. A shadow can reach past it, and a drawing inside an image can start well within it.

Walk through one hypothetical discrepancy

Suppose two card containers are 24 CSS pixels apart in each row, yet the lower pair appears to have a gap nearly twice as wide. Turn on the grid overlay, then temporarily tint the image elements in the suspect row. If their edges line up with the cards but the artwork starts farther in, open the source image on a contrasting background and look for empty canvas near the edge.

If that confirms a padded export, try replacing just that image with a crop that preserves the intended subject. If the tinted boxes themselves are inset instead, look at the wrapper padding or the image fitting rule before re-exporting. The two explanations can look alike in the capture and call for entirely different fixes.

Close the issue with both kinds of evidence

Repeat the capture at the original width and at a width where the cards stack. Check that the crop still works and that a normal neighbouring card hasn't changed. In the closeout, report which boxes you measured, what you changed and what remained constant. The next person can then tell whether to reopen a layout rule or put the asset back on the export desk.

Find the edge the reader is comparing

Suppose a fictional theatre listings page has a series of event rows with a date, a title and a booking control. Someone says the right-hand buttons don't line up. In the first screenshot, mark what they mean by 'buttons': their outer borders, the position of the words or the space between the buttons and the edge of the list. Those are three plausible interpretations. The best first markup is two short lines on the image, each touching the edge the reviewer is comparing.

If the borders align but one booking label looks further from the list edge, check the content. 'Sold out' and 'Join the waiting list' occupy different amounts of space. Equal padding can make the two labels appear to begin at different places while the boxes are doing exactly what the design intended. Decide whether the reader needs a stable action column or whether the row is clearer when the labels align. The proposed fix should follow that decision.

If the border really has moved, compare it with the parent row and the list edge. A button that is in the right place inside a narrower row may look identical to one that has moved inside a correct row. Measure the smallest relationship that distinguishes those explanations. The reviewer doesn't need every number from the inspector. They need to know which box stopped matching its counterpart.

Keep the unmarked capture as well. Lines drawn directly over a thin border can make a small displacement seem certain even when the underlying image is ambiguous. The original image gives someone a chance to disagree about which feature is drifting. Once you agree on that feature, use the geometry for a specific question rather than asking the picture to do all the measuring.

Use a fixture that changes one explanation at a time

In the theatre example, imagine the apparent drift occurs only beside the title for a double bill. Make a copy of the fixture and shorten just that title. Don't change the action text, image or viewport. If the drift disappears, put a different long title in the same row. You are asking whether length matters independently of the particular words. Keep the original fixture intact so you can always return to the complaint.

Now swap the long and short event titles between rows, leaving the row template and actions alone. If the appearance follows the title, inspect wrapping and how the row aligns its children. If it stays in the same row, look for a structural difference there: perhaps the lower entry lives in a promoted module with a different right inset. The swap doesn't establish the cause, but it changes which part of the page deserves attention.

A useful third fixture is the same entry without the booking action, if that is a real publication state. Compare it only after checking equivalent rows with equivalent controls. An event awaiting an on-sale date might reserve the column or let the text use the space, depending on what readers need to compare. Decide whether the expected alignment even applies when the action is absent. A missing object has no border to measure.

Record the fixture change in the issue, including any inspector edit that isn't part of the project. 'Reduced the long title in a local preview; no CSS changes' is enough to make the observation interpretable. Otherwise someone may pull the same revision and assume the title difference came from an unpublished fix. A good diagnostic example can be temporary, provided it is explicit.

Inspect the same moment that the capture shows

Suppose the reported problem is a jump when the theatre's date filter opens. An image attached after the jump and measurements made after closing the filter are about different moments. First reproduce the sequence from a named starting state. Capture the list before opening the filter and again when the filter has settled. If the complaint is about a brief movement between those states, keep a short recording or a set of frames that identifies when it happens.

Choose a stable reference that is visible in each state, such as the left edge of the list or a heading that isn't part of the opening panel. Compare the suspected movement with that reference. If both move together, the whole page may have shifted; if only the result rows move, inspect the region that contains them. Don't compare an absolute position from one partially scrolled view with a measurement from the top of the page.

Decide whether the issue concerns a transition or the final layout. A brief movement during a filter animation asks a different question from a persistent mismatch after the results load. If the first is the complaint, a static measurement of a settled page won't close it. If the second is the complaint, disabling transitions in a local diagnostic can remove noise, as long as the issue records that difference and the final check uses the normal interaction.

Also note when the environment is helping to produce the symptom. The developer tools may be docked in a way that changes the available space, and opening them can move the page into a different layout. Confirm the page still matches the reported layout before making the measurement. If it doesn't, use an arrangement that preserves the relevant width or explicitly reproduce the smaller layout as a separate case.

Choose measurements that answer the proposed fix

Imagine the theatre team proposes giving every action cell more width. You can test the idea locally without assuming the whole list needs a new rule. In an affected row, compare the distances from the row's right border to the action cell and from the action cell to the button. Repeat in one unaffected row. Use the same boundary on both. The two differences tell you whether the discrepancy lies in the row's column arrangement or in what happens inside that column.

Measure the affected relationship at the width where the report was made. Then narrow the list until it changes arrangement or until the content starts wrapping, whichever comes first. Identify which part of the measurement still makes sense. Two buttons on different lines can still share a trailing edge, but their horizontal separation no longer represents space between adjacent controls. Write down the intended relation for the stacked layout before declaring a mismatch.

A small hypothetical measurement can be enough. If both action cells end at the same place relative to their rows, but one button ends further inside its cell, increasing all the cell widths touches the wrong boundary. Look at alignment and any extra element in that cell, such as a price displayed beside the action. If instead the inset from cell to button is identical, start by explaining the difference in cell placement.

Keep meaningful precision. You might need the exact recorded coordinates to compare two very close cases, but the issue summary should explain the size of the difference in relation to the design. A tiny numerical difference and a visibly broken row are not interchangeable findings. Where the measurement is practically unchanged, return to the capture and look again for type, border weight or background treatments that alter the perceived edge.

Keep a visual judgement when geometry can't settle it

Picture a thin divider separating an evening listing from a promoted matinee. The two groups have equal space around the divider, yet the lower group feels attached to the line because its first heading is visually heavier. The measurements establish that the spacing rule is consistent. They don't prohibit a change. The useful question is whether the divider really separates groups for someone scanning the page. A crop with the surrounding headings will do more for that discussion than another list of coordinates.

Try a local comparison that changes the hierarchy rather than the spacing: soften the divider or show the heading at the weight used for other groups. Keep the page height and content comparable. Ask reviewers which events they read as belonging together, without first telling them that the numbers match. If the answer changes, you have a reason to investigate visual grouping. Do not describe that informal design discussion as a usability study.

For a different variant, imagine two identical-height rows where one title wraps. If the extra line pushes the group towards the next heading, the balanced presentation may depend on the space between groups, not the line's exact offset. Show a longer run of items so a reviewer can evaluate the reading rhythm. A screenshot of only the affected title makes it tempting to correct an isolated edge at the expense of the list.

In your decision note, separate the finding from the intent. 'The outer edges already align; we changed the group divider so the two lists read separately' is clear. 'Fixed the misalignment' would tell the next maintainer the wrong thing about what changed. That distinction also affects future checks: the divider may need the same judgement with a different title, while the measured column relation can be compared directly.

Close with the smallest useful before and after

For the theatre page, prepare two recognisable versions of the affected region from matching conditions. Include one ordinary event and the double bill. Keep the full capture available but place the close view next to the explanation. Write down the measured relationship only if it informed the decision. For example, say the action cell kept its existing right edge and the extra inset came from the way a booking status was grouped with the button.

Check an adjacent case that the remedy could change. A new rule for status and action grouping could affect 'Sold out' rows that have no booking control, or a narrow layout where the status moves above the title. Confirm that the choice still applies in those states. If it doesn't, mark the boundary of the fix. Nobody benefits from a closeout that implies the entire listing was verified when only two widths and one state were inspected.

Preserve any fixture that made the diagnosis possible, especially if the problematic title or booking state is about to disappear from the normal dataset. A later reviewer ought to be able to load it without making the same sequence of temporary edits. If the fixture can't live in the project, keep a short description of the content and the interaction needed to reproduce it in a local copy.

On your next report, try writing a pair of questions before opening the inspector: what looks wrong, and what would a measurement need to show to change your mind about the cause? An issue about blurry or crowded content may need the capture first. An issue about the spacing rule may need the two equivalent boxes. The best closeout explains how those observations came together, including when they pointed to different things.

References