Formatting Issues

Make an Existing Line Horizontal or Vertical in Word 2016

John WilsonJohn Wilson Nov 22, 2026 868 views

Question details

Make an existing line in Word 2016 exactly horizontal or vertical.

How to Make an Existing Line Horizontal or Vertical in Word 2016
Product
Microsoft Word 2016
Device & OS
not provided
Scenario
A user wants to straighten a line that has already been added to a Word document.
Observed behavior
Holding Shift constrains a line while it is being drawn, but does not straighten an existing line.
Before you start

Click the line to confirm it is a selectable line shape, rather than a paragraph border or part of an image. Note its current width or height so you can retain the desired length.

Solution 1Recommended

Set the existing line's height or width to zero

Use the Format tab to straighten a line without replacing it.

1
Select the line

Click the existing line in the document to select it, then open the Drawing Tools Format tab.

2
Make the line horizontal

In the Size group, set Height to 0 and keep Width at the desired line length.

3
Or make the line vertical

In the Size group, set Width to 0 and keep Height at the desired line length.

Set the existing line's height or width to zero
Shift applies while drawing: Holding Shift constrains a new line as you draw it; it does not automatically straighten a line that is already in the document.
Edit line shapes in WPS Writer

Straighten an Existing Line in WPS Writer

Open your Word document in WPS Writer and adjust the selected line's dimensions to make it horizontal or vertical.

  1. 1. Open the document: In WPS Writer, choose Open and select the Word document containing the line.
  2. 2. Select the line: Click the existing line, then open the Drawing Tools or Shape Format tab.
  3. 3. Adjust its dimensions: Use the Size controls to set Height to 0 for a horizontal line or Width to 0 for a vertical line. Keep the other dimension at the desired length.
  4. 4. Save the document: Choose Save or Save As and select DOCX if you want to keep the document in Word format.
Adjust line shape dimensions without replacing the lineOpen and edit Microsoft Word DOC and DOCX filesUse familiar document and shape formatting controlsEdit documents with a free Office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't holding Shift straighten my existing line?

Shift constrains the line while you draw it. To straighten an existing line, select it and use the Height or Width control on the Drawing Tools Format tab.

Which dimension should I change for a horizontal line?

Select the line and set Height to 0 in the Format tab's Size group. Leave Width at the length you want.

How do I make the line vertical without changing its length?

Select the line, open Drawing Tools Format, and set Width to 0. Keep Height at the desired line length.

What if I can't select the line as a shape?

The line may be a paragraph border or part of an image. For a paragraph border, click in the paragraph and check Home > Borders; an image line must be edited as part of the image.