How to remove extra space at the top and bottom of Page Properties macro?
Asked by Dharmesh Barot:

*This question is in reference to Atlassian Documentation: [Page Properties Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=184550024)*

Hi,

There are extra spaces added automatically when I add a Page Properties macro. It gets worse if you have a section and table. This is annoying and too much white space.

E.g. PagePropertiesExtraSpaces.png

Since it doesn't happen with other macros is it possible to remove them from Page Properties?

Please advise.

Thanks,

Dharmesh  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-extra-space-at-the-top-and-bottom-of-Page/qaq-p/23110?attachment-id=5283){#link_118652f845b3e1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/3783/1/PagePropertiesEditMode.png){#display_118652f845b3e1_0}  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-extra-space-at-the-top-and-bottom-of-Page/qaq-p/23110?attachment-id=5284){#link_118652f845b3e1_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/3783/2/PagePropertiesExtraSpaces.png){#display_118652f845b3e1_2}  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-extra-space-at-the-top-and-bottom-of-Page/qaq-p/23110?attachment-id=5285){#link_118652f845b3e1_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/3783/3/PagePropertiesEditMode01.png){#display_118652f845b3e1_4}  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-extra-space-at-the-top-and-bottom-of-Page/qaq-p/23110?attachment-id=5286){#link_118652f845b3e1_2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/3783/4/PagePropertiesPublishedMode.png){#display_118652f845b3e1_6}


Answers:
author: Milo Test
body: First off, you don't need to host the image elsewhere, you can paste it right into your question.

Second, you're showing the edit mode, where lots of things look wonky. Often the spacing normalizes in view mode.

comments: author: Dharmesh Barot
body: Thanks! Milo for quick response.

I was a tad late on fixing the first one while you were typing I guess :smile:

Here's how it looks after publishing (different example with edit and publish modes

### EDIT {#toc-hId-1155180882}

PagePropertiesEditMode.png

### PUBLISH {#toc-hId-2042684563}

PagePropertiesPublishedMode.png

Hope this helps.


author: Milo Test
body: Duplicating your layout:

image2016-9-29 9:39:19.png

*** ** * ** ***

There is no spacing:

image2016-9-29 9:39:52.png

So there is something else going on with your page. A couple of things to try:

1. Click in the space under the table and hit delete, and click in the space under the Page properties macro and hit delete (probably no benefit).
2. Rebuild on a new page to eliminate anything that might be there.

[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-extra-space-at-the-top-and-bottom-of-Page/qaq-p/23110?attachment-id=7138){#link_11865309672486}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/3786/1/image2016-9-29%209%3A39%3A52.png){#display_11865309672486_0}  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-extra-space-at-the-top-and-bottom-of-Page/qaq-p/23110?attachment-id=7139){#link_11865309672486_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/3786/2/image2016-9-29%209%3A36%3A1.png){#display_11865309672486_2}  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-extra-space-at-the-top-and-bottom-of-Page/qaq-p/23110?attachment-id=7140){#link_11865309672486_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/3786/3/image2016-9-29%209%3A39%3A19.png){#display_11865309672486_4}


author: Dharmesh Barot
body: For this purpose I started afresh so #2 is addressed and have tried #1 a lot with no luck.

Let me try adding text over Page Properties macro and adding some data in the table to replicate your layout.

Interesting thing is that not all macros do that.


author: Dharmesh Barot
body: No luck

PagePropertiesEditMode01.png


author: Milo Test
body: Are you using some CSS?


author: grant_frisken
body: Did you ever find a solution for this? We have the same thing happening. Every time you edit a page containing a page properties macro it adds a few lines of empty space. It drives me nuts.


author: Dharmesh Barot
body: Hi Grant!

Unfortunately no. What helps a little bit is to hit backspace under the macro. In edit mode you will not know but after you save it should be better than default.

I've made peace with it :) Not worth getting frustrated about.


Tags: page-property