Narrow a signup page to about 320 CSS pixels wide before publishing, because W3C requires horizontal-language content to reflow at that width.
Key takeaways for signup page reflow width
- The W3C reflow criterion requires non-excepted sections of content written in horizontal languages to reflow when narrowed to a width equivalent to 320 CSS pixels, according to W3C.
- For content designed to scroll horizontally, 256 CSS pixels is equivalent to a starting viewport height of 1024 CSS pixels at 400% zoom, according to W3C.
- GOV.UK advises designing for small screens first, starting with a single-column layout, according to GOV.UK Design System.
- The GOV.UK default maximum page width is 1020px, which is a separate layout line from the 320 CSS pixel reflow width, according to GOV.UK Design System.
- MDN shows media queries written as ranges, such as
@media (min-width: 30em) and (max-width: 50em) {, which is an example rather than a substitute for the 320 pixel line, according to MDN.
The 320 CSS pixel value was chosen as a reasonable minimum size that authors can achieve, according to W3C. This is the first check to settle before the page goes live.
What to settle before a signup page is narrowed
Before you publish a signup page, decide which parts of it must survive a narrow window. The W3C reflow criterion sets the baseline: content written in horizontal languages must reflow when narrowed to a width equivalent to 320 CSS pixels. That means a sentence you can read at full width should still be readable when the window is about the width of a small phone held upright, without scrolling sideways to reach the end of the line.
The 320 CSS pixel figure is not arbitrary. The working target for your signup page is not a guess and not a vendor preference; it is the number the W3C settled on for vertically scrolling content written in horizontal languages.
What you settle before narrowing is the page's behavior at that width. A signup page that keeps a fixed two-column layout at 320 CSS pixels will force horizontal scrolling for the column that does not fit. A page built with flexible widths, wrapping form fields, and text that reflows will pass the check without a redesign. The practical question is whether every sentence on the page, from the heading to the submit button label, can be read by scrolling only downward.
Do not treat other layout numbers as replacements for this one. A page width of 1020 pixels, a line length of 75 characters, a media query at 30em, or a spacing unit of 8 pixels are separate design decisions that belong to other publishers' guidance. The 320 CSS pixel line is the W3C's reflow requirement, and it is the one to check first.
The W3C reflow width, the 400 percent zoom note, and the 256 pixel height
The 320 CSS pixel line comes from the W3C's explanation of Success Criterion 1.4.10. According to W3C, "The 320 CSS pixels generally corresponds to a desktop browser window set to a width of 1280px and the browser viewport then zoomed to 400%." That is the practical way to picture the check: a wide desktop window, then zoomed in four times, should still show your signup page without sideways scrolling.
The 400 percent figure has a specific meaning that changes how you run the check. According to W3C, "It should be noted that 400% applies to the dimension, not the area." So when you narrow the window, you are testing the width dimension; the height is a separate matter.
The height only enters the picture for content that scrolls horizontally, which is uncommon for a signup page. According to W3C, for such content, such as vertical text, 256 CSS pixels is equivalent to a starting viewport height of 1024 CSS pixels at 400% zoom. That 256 pixel height applies to the horizontal-scrolling case, not to a standard signup page that scrolls vertically.
For a signup page, the width check is the one that matters. Narrow your page to about 320 CSS pixels and read a sentence. If you must scroll sideways to finish it, the page has not reflowed. If the sentence wraps and stays readable, the page meets the line.
Single column, line length and page width on the GOV.UK page
The GOV.UK Design System page separates three layout decisions that are easy to mix together when you are checking a signup page. The first is the starting point for the layout itself. According to GOV.UK Design System, the guidance is to "Design for small screens first, starting with a single-column layout." That is a direction for how you build the page, not a width limit you measure against.
The second decision is how long a line of text should be. The same page says this would usually mean no more than 75 characters on a line. That is a line-length habit for readable prose, and it is a separate concern from the width of the whole page. A narrow window can still hold a line that is too long if the text container stretches edge to edge.
The third decision is the page container itself. According to GOV.UK Design System, "The default maximum page width is 1020px, but you can make it wider if your content requires it." That 1020px figure is a maximum for the page wrapper on a wide screen. It is not a reflow rule. A page can have a 1020px maximum width and still fail to reflow at 320 CSS pixels if its inner elements do not shrink.
The GOV.UK page also notes that "To set up your layout you will need to create 2 wrappers." That is a structural detail for someone building the layout, not a number you check on a published page.
For your signup page check, keep these three lines separate. None of them is the 320 CSS pixel reflow width. When you narrow the window, you are checking whether the content reflows, not whether it matches any of these three figures.
Media-query examples on MDN and the 8 pixel spacing unit
The media-query examples on MDN and the 8px spacing unit from the U.S. Web Design System are separate tools, and neither one replaces the 320 CSS pixel reflow line from W3C. They answer different questions: media queries control when styles apply at certain widths, and spacing units standardize the gaps between elements. You can use both while still checking the 320 pixel width separately.
The MDN page "Using media queries" shows a width range example that combines two conditions. According to MDN, the example reads @media (min-width: 30em) and (max-width: 50em) {. According to MDN, "This example combines two media features to restrict styles to landscape-oriented devices with a width of at least 30 ems". That is a conditional rule for applying styles, not a statement about whether content must fit a minimum width.
The same MDN page also gives a phone example tied to viewport height. According to MDN, "Likewise, if a user is on a smartphone in portrait mode with a viewport height of 480px, the media query returns true because the second query component is true". The 480px figure here is a viewport height in one example, not a width limit and not a reflow requirement.
The spacing unit comes from a different publisher. According to U.S. Web Design System, its spacing units are based on multiples of 8px, with additional units for small sizes, named units for large sizes, and a more limited selection of negative values. The same page says any spacing value in utilities or component CSS should use those units. That is a recommendation for consistent spacing inside a design system, not a page width or a reflow rule.
Reference table of reflow rules by publisher
The table below collects the lines from each publisher's page. The numbers are not interchangeable: the 320 CSS pixel width is the W3C line for horizontally written content, while the other figures are separate layout guidance from their own sources.
| Publisher | What the page states | Number or limit on the page | What the reader checks today |
|---|---|---|---|
| W3C | This criterion requires non-excepted sections of content that are written in horizontal languages reflow when narrowed to a width equivalent to 320 CSS pixels. | 320 CSS pixels | Narrow your signup page to about 320 CSS pixels and see whether you must scroll sideways to read a sentence. |
| W3C | For web content designed to scroll horizontally, such as vertical text, 256 CSS pixels is equivalent to a starting viewport height of 1024 CSS pixels at 400% zoom. | 256 CSS pixels | For a page that scrolls horizontally, check the height at 256 CSS pixels rather than the width. |
| GOV.UK Design System | Design for small screens first, starting with a single-column layout. | Single column | Confirm the signup page starts as a single column before any wider layout is applied. |
| GOV.UK Design System | Lines of text should usually hold no more than 75 characters. | 75 characters on a line | Count the characters in the longest line of signup copy and keep it at or under 75. |
| GOV.UK Design System | The default maximum page width is 1020px, but you can make it wider if your content requires it. | 1020px | Check the maximum page width of the signup page and note whether it is wider than 1020px. |
| MDN | @media (min-width: 30em) and (max-width: 50em) { | 30em to 50em | Look for a media query on the signup page that sets a width range in em units. |
| U.S. Web Design System | Spacing units are based on multiples of 8px. | 8px | Check whether the spacing values in the signup page CSS use multiples of 8px. |
The first row is the one that matters most before you publish. It is the width to test your signup page against, not the 1020px maximum page width from GOV.UK or the 30em to 50em media-query range from MDN. A typical signup page scrolls vertically, so you will normally check the 320 CSS pixel width; the 256 pixel height is the line for content that scrolls horizontally.
Checks to run on your own signup page
Use the table above as a short list of checks for the page you are about to publish.
- W3C: note whether your signup page still reflows at about 320 CSS pixels without sideways scrolling.
- GOV.UK: note the page width and line length you observe on your own page.
- MDN: note which media-query breakpoints your page actually uses.
- USWDS: note the spacing unit your page applies.
Illustrative example: a two-column signup form at 320 CSS pixels
Suppose a signup page places a form in two columns inside a 1020px wrapper. You narrow the window to 320 CSS pixels and find the right column runs off the screen, so you must scroll sideways to read the submit button label. You change the layout to a single column with wrapping fields. Now every sentence can be read by scrolling only downward, and the page passes the check. The wrapper's 1020px maximum never mattered for this result; the inner elements had to shrink.
Your next step today
Narrow the signup page you already have until it is about 320 CSS pixels wide and note whether you must scroll sideways to read a sentence. Do not buy a testing tool and do not create an account. For related pre-launch checks, see First-session messages: 5 checks before you release and Landing page tracking consent: 5 rules to check.
FAQ about signup page reflow
What does 320 CSS pixels refer to?
It is the W3C reflow width for content written in horizontal languages that scrolls vertically. The page says, "This criterion requires non-excepted sections of content that are written in horizontal languages reflow when narrowed to a width equivalent to 320 CSS pixels," according to W3C. It is the first width to check on your signup page before you publish.
Is 400 percent the same as zooming the area?
No. The W3C page notes that "400% applies to the dimension, not the area," according to W3C. So the 400 percent figure describes one dimension of the viewport, not the total zoomed area.
Which numbers come from other publishers?
Three layout numbers sit beside the W3C line and come from separate pages. The 75-character line length and the 1020px maximum page width come from the GOV.UK Design System, according to GOV.UK Design System. The 8px spacing unit comes from the U.S. Web Design System spacing units page. None of these is the same rule as the 320 CSS pixel reflow line.
What can I look at on a page I already have?
Check for a single-column layout at 320 CSS pixels and lines of no more than 75 characters. If a sentence runs past the visible width, the page has not reflowed to the W3C line.
Is 1020px the same rule as 320 CSS pixels?
No. The 1020px figure is the GOV.UK Design System's default maximum page width, while 320 CSS pixels is the W3C reflow line for horizontally written content that scrolls vertically. The two numbers describe different limits on different pages, and neither replaces the other when you check your signup page.