Why Pages Look Broken and How to Fix Them
Diagnose jumbled layouts, missing images and dead buttons, and fix the causes that are on your side.
Key takeaways
- A web page is assembled from many separate files, and one failed file can wreck the whole appearance.
- A forced reload fixes problems caused by old cached copies mixed with new ones.
- Extensions, zoom settings, forced dark modes and translation tools are frequent hidden causes.
- If the page is broken in every browser and on every device, the problem is almost certainly the site's.
A page that looks broken, with text piled on text, giant icons, blank boxes or buttons that do nothing, usually means one of its supporting files didn't arrive or didn't run. The page itself loaded, but the style sheet, script, font or image it depends on was blocked, outdated or unavailable.
You can fix many of these problems in a couple of minutes. The method is to reload cleanly, remove things that interfere, and then check whether the fault is yours or the site's.
What a page is made of
When you visit an address, the browser first downloads an HTML document, the page's skeleton. That document points to other files:
- style sheets (CSS) that control layout, colors and spacing
- scripts (JavaScript) that respond to clicks and load content
- images, video and icons
- fonts, sometimes supplying icons as well as letters
- data fetched after the page appears
Many of these come from other servers, such as a content delivery network or an advertising company. Any one of them can be slow, blocked or missing. How a browser builds a page walks through the rendering steps.
Match the symptom to the missing piece
| Symptom | Likely cause |
|---|---|
| Plain black text and blue links in one long column | Style sheet didn't load |
| Menus or buttons do nothing | Script failed or was blocked |
| Little squares or odd words where icons belong | Icon font didn't load |
| Blank rectangles | Images blocked, lazy loading stalled or files gone |
| Elements overlap | Zoom, font size or a narrow window |
| Half the new design, half the old | Stale cache |
This table gives you a starting guess. The fixes below work from cheapest to most involved.
Reload without the cache
Browsers keep copies of files to load pages faster. If a site updated and your browser mixes a new page with an old style sheet, the result can look badly wrong.
Force a fresh download:
- Windows and Linux:
Ctrl+F5, orCtrl+Shift+R - Mac:
Command+Shift+Rin Chrome and Firefox; Safari uses a different combination that involves theOptionkey
If that doesn't help, clear cached files and cookies for just that site. Browser caching explains why copies can linger, and what clearing erases tells you what you'd lose.
Clear what the site has stored
A forced reload refreshes files, but it leaves cookies and other saved data alone. Some web apps keep settings, layouts or cached copies of themselves on your device, and a damaged entry can leave you with a blank screen every time you return.
Click the icon beside the address, open the site data or cookie view, and remove the data for that site only. You'll probably have to sign in again, and preferences stored only on the device will reset. If the app keeps unsaved work in the browser, such as a draft, copy it out first if you still can.
Some sites install a background component, called a service worker, that serves saved files even when the network has newer ones. Removing the site's data normally removes that too. Closing every tab for the site and opening it again also lets a waiting update take over.
Check zoom and display settings
Zoom is saved per site, so one page can look enormous while others seem normal. Press Ctrl + 0 (or Command + 0 on a Mac) to reset it.
Then look at:
- a minimum font size you set long ago
- custom fonts or colors that override sites
- a forced dark mode, from the browser or an extension, that turns text invisible
- reader mode or an automatic translation, which rewrites page content
- operating system text scaling on a small screen
Translation is a sneaky one. Rewritten text can be longer than the original and push elements out of place, and in some web apps it can interfere with buttons. Turn it off for that site and reload.
Turn off extensions
Ad blockers and privacy tools block requests by design, and sometimes they block something the page needs. Open the page in a private window where extensions are disabled. If it looks right, you've found the family of cause. Enable them one at a time, or use the blocker's button to pause it for that site.
How ad blockers work shows why a legitimate file can match a blocking rule, especially if its address looks like advertising. If you report the false match to the blocker's filter list maintainers, others benefit too.
Check security and network blocks
Some breakage comes from protection layers outside the browser:
- security software that inspects web traffic
- a DNS filtering service or router-level blocker
- a school, office or public Wi-Fi filter
- a VPN or proxy that changes your apparent location
- tracking protection in the browser set to its strictest level
Switching networks is a quick test. If the page works on mobile data but not at home, look at the router, DNS service or filtering software. Flushing your DNS cache helps if the site recently moved servers.
Don't permanently turn off security tools to make one page work. Test briefly, then add a narrow exception only for a site you trust.
Look at the evidence
If you want to be sure, open developer tools. The Console shows red errors, and the Network panel lists each file with its status. A style sheet or script showing 404, 403 or "blocked" tells you exactly what's missing.
Typical readings:
- 404 on a style sheet. The site's file is missing, so there's nothing for you to fix.
- "Blocked by client". An extension stopped it.
- 503 or timeouts. The server or its delivery network is struggling.
- Certificate error on a secondary address. Don't bypass it blindly; see certificate errors.
Fix missing images and icons
Images fail for their own reasons. Check that your browser isn't set to block images for the site, and that no data saver mode is replacing them with placeholders. Some sites load pictures only as you scroll near them, so scroll slowly and give them a moment.
Right-click a broken image and choose to open it in a new tab. If you get a "not found" message, the file is gone from the server. If it loads on its own but not in the page, the site may be refusing to serve it in that context, or a blocker is stopping it.
Boxes or stray words where icons should appear mean an icon font didn't arrive. Fonts are often hosted elsewhere, so a strict blocker, a privacy setting that forbids remote fonts or a network filter can all cause it.
Old browsers and unsupported features
Sites adopt newer web features over time. An outdated browser may not understand a layout rule or script syntax, and the failure can be total. Update the browser. If your operating system is too old to receive updates, a different browser that still supports it may help for a while, though an unsupported system carries security risk. See browsers for older computers.
Some sites are only tested in a few browser engines. If one site fails in your usual browser but works in another, that's a compatibility gap you can report. Browser engines explains why differences exist.
Dark mode, high contrast and accessibility tools
If you use high contrast, forced colors or a large cursor and text, some sites cope badly. Background images used as text, or icons drawn with background colors, may disappear. These settings serve a real need, so don't give them up. Instead, try a site-specific exception where available, use reader mode for articles, or contact the site owner, since accessibility failures are theirs to fix.
Report a broken site well
A useful report includes:
- The page address and the time you saw it.
- Browser name and version, operating system and device.
- A screenshot of the whole page.
- Whether a private window or another browser changes anything.
- Any red Console errors.
If the site is yours, start by checking whether the style sheet and script addresses return successful responses, whether your content delivery network is serving a stale copy, and whether a recent change broke a file path. Cache invalidation helps when visitors keep seeing old files after you publish.
Printing and saving broken pages
Sometimes a page looks fine on screen but broken when printed, because print styles differ. Try reader mode before printing, or print to PDF and check the preview. Turning on background graphics in the print dialog restores colors and images that were left out.
If you only need the words from a mangled page, reader mode usually strips away the layout and leaves a readable article. It won't help with forms or checkouts, though, so for those wait for a working page rather than guess at where a button went.
Break the habit of guessing
When a page misbehaves, change one thing, reload, and note the result. If you switch off all your extensions, clear your data, change browsers and restart the router at once, the page may work again without your knowing why, and the problem will return.
A short list of what you tried also helps anyone you ask for help. "Fails in my usual browser, works in a private window, still fails after a forced reload" narrows the search enormously. If a site matters to you, such as a bank or a government portal, keep a second browser installed and updated as a fallback while you sort out the first.
Common questions
Why does a page look different on my friend's computer?
Different browsers, window sizes, zoom levels, fonts, extensions and account settings all change the result. Sites also test variations on different visitors.
Is a broken page a sign of hacking?
Rarely. Most breakage is technical. Be more cautious if the page asks for passwords or payment while looking wrong, or if the address is slightly off. Close it and type the address yourself.