Skip to navigation
Real World Computing

Getting rid of unwanted lines in Word tables

Posted on 8 Oct 2010 at 15:13

Simon Jones explains how to remove extra lines in table cells at page breaks in Word 2007

A reader named Rex emailed me recently with a question about the way tables work in Word: “I’m getting unwanted lines in Word 2007 when a table row breaks across pages. I have a table with horizontal borders above and below each row. Some of the cells contain multiple lines of text.

"When a cell becomes too large vertically to fit the page it continues on the next page, but Word adds two horizontal lines in the middle of the cell: one line is at the bottom of the page where the break occurs, and the other line is at the top of the next page, just before the cell continues. If I turn off borders between cells, these added lines go away, but I need the borders between cells. How can I get rid of these two extra horizontal lines in the middle of the row?”

This problem occurs because of the way Word handles borders in tables – it doesn’t omit the bottom border on the first part of a broken row, or the top border on the continuation of the row on the next page, so these cells have their bottom and top borders repeated.

tables in Word

This may be what some people want, but Rex – and I imagine many others – prefer it to be obvious that the row at the bottom of one page isn’t complete and continues on the next page. In some applications, such as SQL Server Reporting Services, cells and rows have separate top and bottom borders, so you can turn off the bottom border on one row and still see the top border on the row below.

In Word, however, the bottom border of a cell is the top border of the cell below, so you can’t lose one without losing the other. You could avoid breaking rows across page boundaries, by setting the row properties so that rows aren’t allowed to span pages: select the whole table, click Table Tools | Layout | Table | Properties | Row, and untick the box that allows rows to break across pages.

This avoids the problem with broken rows, but can leave ugly gaps at the bottom of a page where a whole row has been moved onto the next page.

One workaround is to draw empty, borderless textboxes that obscure these unwanted bottom and top borders in your table.

It works, but it will have to be the last thing you do because any changes to the document or its formatting might change the position of the table, moving it up or down the page or onto a different page so that it may no longer match up with the floating textboxes.

tables in Word

Subscribe to PC Pro magazine. We'll give you 3 issues for £1 plus a free gift - click here
User comments

So you haven't really answered Rex's question at all! I don't know if there is a way to do this in Word, but I'm pretty sure covering over the lines with white boxes isn't the appropriate way to do it.

By flyingbadger on 8 Oct 2010

So the answert is that there is no inbuilt Microsoft designed feature to fix this cosmetic annoyance. Just a high maintenance workaround.

By JohnWaller on 8 Oct 2010

Very irritating. My answer is to remove the top and bottom margins from the page-spanning cells and apply a lower border to the final paragraph of cells on the last two rows of the page.
The drawbacks of this approach are that the border only spans the text area within the cell and you'll need to pad any briefer text with new lines (Shift-Enter) to align the borders.
On the plus side, this can be saved as a style and applied quickly and repagination won't spoil your document too much.

By colindx1 on 14 Oct 2010

Far easier

just to tell word not to let the row break over the page.

By jaibee3 on 15 Oct 2010

Hardly in the spirit of proceedings.
You could just add a 0.5mm blank row above and below the last row and manipulate those borders instead.

By colindx1 on 15 Oct 2010

http://www.b2cjersey.us

Welcome to our website : ( http://www.b2cjersey.us )

Exactly Price depend on the amount you order , more order more discount !

NFL($16), NBA($15.00), NHL($28.00), MLB($17.00)

1)Payment :Paypal, T/T , western union, moneygram

2)Express shipment : DHL, UPS, EMS, TNT

3)Delivery time:3-6days to received your order in hand

4)Customs : Promise the duty if detained we resend or refund

5)Policy: Anything has quality problem , we refund
All Jersey's Names, Numbers, Patches, & Logos 100% Sewn.
NOTHING SILKSCREENED!

( http://www.b2cjersey.us )

By huijhioj on 18 Oct 2010

Leave a comment

You need to Login or Register to comment.

(optional)

Simon Jones

Simon Jones

Simon is a contributing editor to PC Pro. He's an independent IT consultant specialising in Microsoft Office, Visual Basic and SQL Server.

Read more More by Simon Jones

advertisement

Most Commented Real World Articles
Latest Real World Computing
Latest Blog Posts Subscribe to our RSS Feeds
Latest News Stories Subscribe to our RSS Feeds
Latest ReviewsSubscribe to our RSS Feeds

advertisement

Sponsored Links
 
SEARCH
Loading
WEB ID
SIGN UP

Your email:

Your password:

remember me

advertisement


Hitwise Top 10 Website 2010
 
 

PCPro-Computing in the Real World Printed from www.pcpro.co.uk

Register to receive our regular email newsletter at http://www.pcpro.co.uk/registration.

The newsletter contains links to our latest PC news, product reviews, features and how-to guides, plus special offers and competitions.