logo
search
File Format & Compatibility

How to Fix Word Headers and Footers Turning Into Lines in OneDrive

Phi Hung VoPhi Hung Vo Oct 10, 2026 870 views

Question details

Users report that headers and footers in Word documents unexpectedly display as horizontal lines or tables when viewed or shared via OneDrive.

Fix Word Headers and Footers Turning Into Lines in OneDrive
Product
Microsoft Word, OneDrive
Device & OS
not provided
Scenario
Opening, viewing, or sharing a formatted Word document in Word for the Web through OneDrive.
Observed behavior
The original header and footer text formatting is lost or replaced by solid lines and table borders in the web view.
Before you start

Before making any formatting changes to your document, download a backup copy to your local drive to ensure you do not permanently overwrite the original layout.

Solution 1Recommended

Open the Document in the Word Desktop App

Word for the Web has rendering limitations for complex elements. Opening the file in the full desktop application usually restores the correct layout.

The web-based version of Microsoft Word simplifies document layouts to improve browser performance. This can cause elements like customized headers, footers, or embedded tables to render incorrectly as straight lines. Switching to the desktop application bypasses these web limitations.

1
Open the file in OneDrive

Navigate to your OneDrive account in your web browser and click on the problematic document to open it in Word for the Web.

2
Access the viewing options

Look for the 'Editing' or 'Viewing' dropdown button located on the top ribbon of the interface.

3
Switch to Desktop App

Click 'Open in Desktop App' from the dropdown menu. When prompted, allow your browser to launch the Microsoft Word desktop application to view the full formatting.

Open the Document in the Word Desktop App
Check Your Local File: If the headers appear correctly in the desktop app, the file is not corrupted; the issue is strictly a display limitation of the web viewer.
Free Microsoft Office alternative

Use WPS Office for Accurate Document Formatting

If Word for the Web continually breaks your document's layout, consider switching to WPS Office. It provides a robust, lightweight desktop experience that maintains strict compatibility with Microsoft Word formats, ensuring your headers and footers look exactly as intended without web-viewer distortions.

  1. 1. Download and Install: Visit the official WPS website to download and install the free WPS Office suite on your device.
  2. 2. Open Your Document: Launch WPS Writer and open your downloaded OneDrive document directly from your local drive.
  3. 3. Enjoy Perfect Formatting: View and edit your document; WPS Writer accurately displays Word headers and footers as originally intended.
Highly compatible with Microsoft Word (.doc, .docx) formatsAccurate rendering of complex headers, footers, and tablesFree, lightweight, and easy to use across Windows, Mac, and mobile
QA img-9

Frequently Asked Questions

Why do my headers disappear or change when using Word for the Web?

Word for the Web uses a simplified editing view to improve browser performance. This view intentionally hides complex formatting like headers, footers, and columns until you switch to Reading View or print the document.

Does saving a document in OneDrive corrupt its formatting?

No. OneDrive simply stores the file data. The formatting changes you see are caused by the web-based document viewer (Word for the Web) interpreting the file layout differently than the desktop application.

How can I share a document on OneDrive without the layout changing?

To ensure the recipient sees the exact layout, save the document as a PDF before uploading it to OneDrive, or advise the recipient to download the Word file and open it in their desktop application rather than viewing it in the browser.