Formatting Issues

How to Fix a White Line Appearing Inside a Word Border

Natalie TaylorNatalie Taylor Oct 26, 2026 868 views

Question details

A thin white line or gap appears and disappears inside a border in Microsoft Word depending on the zoom level.

How to Fix a White Line Appearing Inside a Word Border
Product
Microsoft Word
Device & OS
not provided
Scenario
Viewing a shaded text box, table, or paragraph with a border in Microsoft Word.
Observed behavior
A thin white line appears on the inside edges of the border. This line disappears or changes when altering the document's zoom level.
Before you start

Ensure your monitor's display drivers are up to date and take note of the current zoom level of your document before troubleshooting.

Solution 1Recommended

Verify Using Print Preview or PDF Export

Confirm whether the white line is an actual formatting error or just a screen rendering artifact by checking the print view.

Often, thin white gaps inside borders are simply display artifacts caused by screen resolution and pixel rendering alignments. Word is designed to display document content well for editing, but not always perfectly on screen. These artifacts usually do not affect the final printed output or exported files.

1
Open Print Preview

Navigate to the 'File' tab in the top-left corner of Microsoft Word and select 'Print' to open the Print Preview pane. Inspect the border here.

2
Export as PDF

Alternatively, go to 'File', choose 'Save As' or 'Export', and save the document as a PDF file.

3
Check the Output

Open the generated PDF or print a test page to verify. If the line is absent, it is only a display artifact and your document is formatted correctly.

Verify Using Print Preview or PDF Export
Formatting Confirmed: If the white line does not appear in the PDF or printed copy, no further formatting changes are needed for your document.
Free Microsoft Office alternative

Try WPS Office for Flawless Document Formatting

Tired of visual artifacts and rendering quirks? WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office that offers a smooth and precise document editing experience without the visual glitches.

  1. 1. Download and Install: Get the free WPS Office installer from the official website and complete the setup.
  2. 2. Open Your Document: Launch WPS Writer and open your existing Word document to experience seamless formatting.
Fully compatible with Microsoft Word formats (.docx, .doc).Precise rendering engine that minimizes visual artifacts like border gaps.Lightweight design for fast loading and smooth scrolling.Familiar, easy-to-use interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Will the white line inside my Word border show up when printed?

Generally, no. White lines inside borders that change with the zoom level are typically screen-rendering artifacts caused by pixel alignment. Always check Print Preview to confirm, but they rarely appear on physical copies.

Why does the white line disappear when I zoom in or out?

When you change the zoom level, Word recalculates how to draw the document's elements based on your screen's pixels. Sometimes the math behind scaling borders and shading does not align perfectly at certain percentages, causing a tiny gap to appear or disappear.

Can I permanently fix this rendering artifact in Microsoft Word?

Since it is tied to how Word's display engine handles screen resolution and pixel rendering, there is no permanent setting to fix it. Relying on Print Preview or saving the file as a PDF is the best way to ensure your formatting is structurally correct.