It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Section / Column formatting issues

Erik Spigle Jul 08, 2012

I am attempting to use a section with three columns inside to center some text on a page. The center column is fixed pixel width while the two outer columns have no width assigned. I can achieve what I am looking for only if I set a border for the section. I don't want any border, however. If I set no border with the section, the center column doesn't stay centered and the formatting is all off.

I need some help in figuring out what is wrong and how I can resolve this issue so I can have a three column setup to center fixed width text on my page without having to keep borders on the section. If it helps, I'm using the Documentation Theme.

Thanks.

6 answers

0 votes
Erik Spigle Jul 08, 2012

Sorry--4.2.7

0 votes
Thomas Schlegel Community Leader Jul 08, 2012

which Confluence Version ?

0 votes
Thomas Schlegel Community Leader Jul 08, 2012

Hi Erik,

I have tried with Conflunce 3 and there, this works for me:

{section}
{column}
{center}
test
{center}
{column}
{column:width=1000px}
{center}
test
{center}
{column}
{column}
{center}
test
{center}
{column}
{section}

But I'm sure, it looks quite the same in your environment ?

0 votes
Erik Spigle Jul 08, 2012

Something like that will work in our test 3.5.13 install, but not in 4.2.7. I just tested it both places and it seems to just be an issues with 4.2.7 on my end. Here is what I changed the above to look like (just for more filler text in the middle):

{section}
{column}
{column}
{column:width=1000px}
{center}
{loremipsum}
{center}
{column}
{column}
{column}
{section}

It doesn't matter if I put text in the two outside columns or not--I get the same results. My end goal is to have them empty, though. I'm willing to try any other tests.

0 votes
K Kelly Jul 09, 2012

in 4.x, when you insert the column macro, you can select that macro and edit it in order to add the pixel width for the one that you want to control and then add the center macro with the text you want to center justify (if that is your intent). If you are doing that and only the border solution works, I recommend you input a support ticket if you don't get any other possibilities.

0 votes
Erik Spigle Jul 09, 2012

I wound up submitting a support ticket and they were able to replicate the issue. They gave me a couple possible workarounds that I'll have to try involving using HTML inside a page. It was acknowledged as a minor bug, so I can hope it might be fixed in a future update.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,239 views 7 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you