How to Fix a White Line Appearing Inside a Word Border
Question details
A thin white line or gap appears and disappears inside a border in Microsoft Word depending on the zoom level.

- 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.
Ensure your monitor's display drivers are up to date and take note of the current zoom level of your document before troubleshooting.
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.
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.
Alternatively, go to 'File', choose 'Save As' or 'Export', and save the document as a PDF file.
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.

Adjust the Document Zoom Level
Change the magnification of the document to force Word to re-render the pixels, which often resolves temporary display artifacts.
Report Persistent Rendering Issues
If the display artifact is highly disruptive to your workflow, report it directly to the Microsoft development team.
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. Download and Install: Get the free WPS Office installer from the official website and complete the setup.
- 2. Open Your Document: Launch WPS Writer and open your existing Word document to experience seamless formatting.

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.




