Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,294
Community Members
 
Community Events
184
Community Groups

How to make a table in the center of the page?

Hi

I have tried to look this up but it is challenging since in the documentation I find about tables seems to work differently than it does in my version of Confluence. I am running version 7.2.1. Maybe a change in design?

If I select the table and click align center the text in the cells will be centered, not the table it self. 

2 answers

El post al que hacen mención, al menos en mi caso, no ayuda pues al parecer es para la versión Cloud.

Si es la versión onprem, como la tenemos acá, puedes utilizar CSS para ello:

Captura.PNG

Cuando se abra el editor de HTML busca la tabla y agrega el siguiente CSS:

<table class="wrapped relative-table" style="width: 93.2449%; margin-left: auto;margin-right: auto;">

Espero sea de utilidad a más de 6 meses :-) ;-)

0 votes
Vero Rivas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Sep 03, 2021

I checked your suggestions as well, because the problem pops up on our end too. 

The first link (to the ticket) is less, than helpful, because the question in the title remains unanswered, while the comment section is off-topic deals with centering the CONTENT of the table, which is not solving the problem for the table itself. 

The Confluence help briefly mentions the option, but that's all...and the function does not work...(there are macros, also not working...)

Confluence is not picking this up, and it's been without fix for a long while. 

We started to use Scroll PDF - their templates and macros can't help with this either. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events