Make an Existing Line Horizontal or Vertical in Word 2016
Question details
Make an existing line in Word 2016 exactly horizontal or vertical.

- 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.
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.
Set the existing line's height or width to zero
Use the Format tab to straighten a line without replacing it.
Click the existing line in the document to select it, then open the Drawing Tools Format tab.
In the Size group, set Height to 0 and keep Width at the desired line length.
In the Size group, set Width to 0 and keep Height at the desired line length.

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. Open the document: In WPS Writer, choose Open and select the Word document containing the line.
- 2. Select the line: Click the existing line, then open the Drawing Tools or Shape Format tab.
- 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. Save the document: Choose Save or Save As and select DOCX if you want to keep the document in Word format.

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.




