Ask Your Question

How to get rid of the space under a table inside a table cell?

asked 2018-03-05 12:52:05 +0200

webheadjay gravatar image

updated 2018-03-05 13:27:26 +0200

Hi, I am editing a document and I want to insert a 3 rows by 2 column table inside a cell of an existing table. Whenever I insert the nested table, It has this space under it which I don't have any idea on how to get rid. On the other hand, I tried creating a table within a table on a blank document on Libre office, It doesnt contain that space under the nested table. I have tried checking whatever property that's making the space under the table but I couldnt figure it out. I could even resize it. Please help. Thank you so much , ,

this one doesnt seem to have the problem

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2018-03-05 13:07:57 +0200

Grantler gravatar image

updated 2018-03-05 13:10:40 +0200

A new table is a different object and the space (padding) of the borders of the containing table are more than 0 by default. You may set the spaces to 0 and there will be nearly no gaps between container table and inserted one.


Have you thought about splitting a table cell into horizontal and vertical parts? There won't be any gaps.

edit flag offensive delete link more


Hi thanks for this but I have set the space to content of all sides to 0 and still, when i add the table inside the cell, there is still space right at the bottom. I cant split the cells because the document will be processed on apache velocity as a template and this cell will have the ability to be repeated if needed during processing depending on the data inserted. , ,

this one doesnt seem to have the problem

webheadjay gravatar imagewebheadjay ( 2018-03-05 13:19:44 +0200 )edit

answered 2018-03-10 03:13:33 +0200

kengra gravatar image

I think your issue is unrelated to nested tables but the table creation itself. when I create a new table a paragraph is inserted at the beginning & end. the former is easily deleted but the best I can do with the latter is to change the font size to 6. I complained about this a long time ago without resolution. good luck.

edit flag offensive delete link more

answered 2018-03-05 17:01:36 +0200

ajlittoz gravatar image

updated 2018-03-11 07:56:38 +0200

You may already have a paragraph in your container cell. When you insert a table flushed to left/right margins , this paragraph wraps to next line and occupies space according to its spacing.

To make sure, display the formatting marks (menu Display>Formatting marks or key Ctrl+F10). Paragraph marks show as "pilcrows" (mirrored P).

If you have such a paragraph mark (and no other text) after your table, put your cursor before it and press Del.

EDIT 2018-03-11

Eventually, have a look at Tooks>Options>LO Writer>Compatibility Add spacing between paragraphs and tables (second item from top).

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

edit flag offensive delete link more


Yes, I did that too, but the paragraph was not deleted.

webheadjay gravatar imagewebheadjay ( 2018-03-06 03:30:44 +0200 )edit

Caution, make sure you press Del, not Backspace

ajlittoz gravatar imageajlittoz ( 2018-03-06 08:00:08 +0200 )edit

Yep, Del and backspace doesnt work. Pressing del only moves the cursor inside the nested table. I am willing to have someone remote access my pc and see if this issue can be fixed.

webheadjay gravatar imagewebheadjay ( 2018-03-06 09:19:08 +0200 )edit

If you're moving inside the nested table, you didn't position the cursor to the right location. It must be set after the nested table. If you can't click there, use right arrow to go.

ajlittoz gravatar imageajlittoz ( 2018-03-06 10:06:18 +0200 )edit

Your screenshots don't display the formatting marks. This would helpdiagnode the problem. Press Ctrl+F10 and repost the shots.

ajlittoz gravatar imageajlittoz ( 2018-03-10 07:51:13 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-03-05 12:52:05 +0200

Seen: 1,054 times

Last updated: Mar 11 '18