Formatting Issues

Remove Blank Space Above Text and a Horizontal Line in Word

Adam DavisAdam Davis Nov 22, 2026 869 views

Question details

The user wants to remove a large blank area between a horizontal line and text in a Word document.

Remove Blank Space Above Text and a Horizontal Line in Word
Product
Microsoft Word
Device & OS
not provided
Scenario
A document contains a horizontal line and text that may be inside a table, text box, or other drawing object.
Observed behavior
The blank area remains after adjustments to paragraph spacing, widow and orphan control, borders, and table formatting.
Before you start

Open the document in Word and select Home > Show/Hide ¶ to reveal paragraph marks and table boundaries. Click near the line to check whether it is a shape, a paragraph border, or part of a table or text box.

Solution 1Recommended

Inspect and remove hidden spacing around the line

Use this approach to identify empty paragraphs, table rows, or border settings that may be creating the gap.

1
Show formatting marks

Select Home > Show/Hide ¶ and look for empty paragraph marks between the line and the text. Select and delete any unnecessary empty paragraphs.

2
Check for an empty table row

Click in the area around the line. If Table Layout appears, inspect the table for an empty row; select an unnecessary row and choose Table Layout > Delete > Delete Rows.

3
Inspect table spacing

Right-click the table and select Table Properties. On the Row tab, check whether a specified row height is creating extra space; also check cell margins under Table > Options.

4
Check a paragraph border

Click in the paragraph associated with the line, then select Home > Borders > Borders and Shading > Options. Review the distance from the text and reduce it if it is creating the gap.

Inspect and remove hidden spacing around the line
Identify the line first: A line may be a paragraph border, a shape, or part of a table. The relevant spacing controls depend on how it was created.
Free Microsoft Office alternative

Edit Word Documents with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Word documents. Its paragraph, table, and shape tools help you work with document spacing while moving between Office formats.

Adjust paragraph spacing and work with lines and tables in WPS WriterOpen and edit Microsoft Word DOC and DOCX filesUse a familiar interface that makes switching from Office easierWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

How do I see whether empty paragraphs are causing the gap?

In Word, select Home > Show/Hide ¶. Empty paragraphs appear as paragraph marks; select and delete any that are not needed.

Why does the blank space remain after I change paragraph spacing?

The space may come from an empty table row, a specified row height, cell margins, a paragraph border, or a floating object. Click around the line and inspect Table Properties, Borders and Shading, or the object's layout options.

How can I tell if the line is a paragraph border?

Click in the paragraph next to the line and open Home > Borders > Borders and Shading. A paragraph border is controlled there rather than through a selected shape's layout options.

How do I keep a line positioned with the surrounding text?

Select the line shape and choose Layout Options or Wrap Text > In Line with Text. Then adjust the spacing of the paragraph containing the line through Home > Paragraph settings.