How to Fix Word Table Borders Extending Beyond the Grid
Question details
The user needs to fix an issue where table borders in a Word document extend beyond the visible grid or appear misaligned.

- Product
- Word / WPS Writer
- Device & OS
- not provided
- Scenario
- Formatting a table within a document where border lines appear to overlap or stretch past the standard cell boundaries.
- Observed behavior
- Table borders extend past the visible cell boundaries, which is typically caused by unintended paragraph borders, incorrect cell spacing, or conflicting table formatting settings.
Turn on paragraph marks (formatting symbols) to easily identify if hidden paragraph breaks or text formatting are pushing the borders outward.
Remove Paragraph Borders and Reapply Table Borders
This is the most effective method, as overextended borders are often caused by conflicting paragraph borders applied inside the table cells rather than to the cells themselves.
Word processors support borders for both tables and the paragraphs contained within table cells. When paragraph borders are unintentionally applied, they can extend beyond the actual table gridlines.
Hover over the table and click the four-headed arrow icon that appears at the top-left corner to select the entire grid.
Navigate to the 'Home' tab, click the small arrow next to the 'Borders' icon in the Paragraph group, and select 'Borders and Shading' at the bottom of the list.
In the Borders tab, look at the 'Apply to' dropdown menu on the right. If it is set to 'Paragraph', click the 'None' setting on the left side to clear the extra lines.
Change the 'Apply to' dropdown to 'Table' or 'Cell'. Choose your desired border style and click 'OK' to reapply the correct boundaries to the table grid.

Disable Default Cell Spacing
Unintentional cell spacing can push borders outward, making them look like they are improperly extending beyond the standard grid.
Easily Format and Align Tables with WPS Office
WPS Writer provides an intuitive and user-friendly interface for managing complex table layouts. It allows you to easily fix formatting glitches like extending borders while ensuring full compatibility with Microsoft Word documents.
- 1. Open your document in WPS Writer: Launch WPS Office and open the .docx file that contains the misaligned table.
- 2. Select the Table: Click on the cross icon at the top-left corner of the table to highlight the entire grid.
- 3. Adjust Borders easily: Navigate to the 'Table Tools' tab, click 'Borders', and use the dropdown to customize or reset your boundaries so they align perfectly with your document layout.

Frequently Asked Questions
Why do lines appear outside my table cells in Word?
This usually happens when a border format is applied directly to the paragraph text inside the cell rather than the table cell itself. Removing the paragraph-level border in the Borders and Shading menu will resolve this issue.
How do I hide table gridlines if I only want specific borders visible?
You can hide the non-printing gridlines by going to the 'Table Tools' or 'Table Layout' tab, clicking on the 'Borders' dropdown, and selecting 'View Gridlines' to toggle them off.
Does adjusting cell margins fix table border extensions?
Adjusting cell margins only changes the space between the text and the inner edge of the border. If the actual border lines are extending outward, you need to check the 'Cell Spacing' settings or the paragraph border settings instead.




