How to Add Horizontal Lines Above and Below a Date in Microsoft Publisher
Question details
The user wants to place horizontal rules directly above and below a date in Microsoft Publisher without adding unwanted extra vertical spacing.

- Product
- Microsoft Publisher
- Device & OS
- not provided
- Scenario
- Formatting a date or specific text block in a publication layout to have enclosing horizontal lines.
- Observed behavior
- The user needs a reliable method to accurately position horizontal lines above and below text while avoiding extra line breaks or awkward spacing between the lines and the date.
Ensure your text box containing the date is properly sized and positioned within your Publisher document before adjusting paragraph styles or inserting shapes.
Use Paragraph Styles for Built-in Horizontal Rules
Modifying a paragraph style is the most efficient way to automatically add and format rules above and below text without adding extra line breaks.
By adjusting the paragraph style itself, Publisher will anchor the horizontal lines to the text. This ensures the lines will always move dynamically with your date if you edit the layout.
Navigate to the Home tab on the ribbon and click on the Styles option to open the Styles menu.
Right-click the specific paragraph style currently applied to your date text, then select Modify from the context menu.
In the Modify Style dialog box, click on the Format button (or look for the specific formatting options) and select Horizontal rules.
Set the rules to appear both above and below the paragraph. Adjust the line weight, spacing, and color as desired, then click OK to apply.

Manually Draw Line Shapes
If you only need this formatting applied once, manually inserting line shapes offers quick and flexible visual placement.
Create Professional Layouts Easily with WPS Office
While Microsoft Publisher offers desktop publishing tools, WPS Office provides a free, lightweight, and comprehensive suite for all your document formatting needs. With highly compatible word processing tools, you can easily design layouts, add paragraph borders, and style text without the heavy subscription costs.
- 1. Download WPS Office: Visit the official WPS website to download and install the free office suite.
- 2. Open your documents: Easily open your existing text and layout documents with full compatibility.
- 3. Apply styling: Use WPS Writer's intuitive Border and Shading tools to add lines above and below text instantly.

Frequently Asked Questions
Why is there extra space between my text and the horizontal rule in Publisher?
Extra space is usually caused by the paragraph's line spacing or 'Space Before/After' settings. Check the Paragraph formatting menu and reduce these values to pull the horizontal rules closer to your text.
Can I save my custom line style for other Publisher documents?
Yes, by creating a new Paragraph Style with your specific horizontal rule settings, you can save the formatting and apply it across different text boxes in your publication.
How do I change the color of the horizontal rule in Publisher?
In the Modify Style dialog box, under the Horizontal rules section, you can select the line color, weight, and stroke style from the provided formatting dropdowns.




