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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Indent not working

Hi, I tried to indent a table that is a layout, but it get reverse back to the original state after I save.

 

Here is video: https://streamable.com/zngy4p

1 answer

Hi @Moka ,

which browser are you using? Did you try with another?

Cheers,

Vitor

I tried with Chrome and Safari, both are not working. Is it possible to use css to create margin for only one table?

I've tested it with Edge Chromium and Chrome and it works better than you show on the video, although not as expected. The left margin will always reduce a bit.

A few ways to work around the problem:

1. Using Confluence Source Editor (my favourite option) find and replace all the margin-left being applied to the table and replace it with the position you wish. To use it after installation basically you'll need to edit the page, click in <> button located on the top-right of the page and then use the Find and Replace boxes.

If you don't have this plug-in installed I'd recommend it because sometimes it's a real life saver.

2. If you are using a plug-in with a macro that will allow you to wrap the table in a container, such as a panelbox (e.g. Advanced Panelboxes for Confluence) or a div (e.g. Content Formatting Macros), you can define an ID for that container and then add in the Stylesheet page (Space Tools > Look and Feel) #container-id .confluenceTable { margin-left: 240px; }. If you have the Content Formatting you will have available a CSS macro that will allow you to directly apply the style in the page and not for the entire space.

3. Confluence's {panel} macro can work the same way as above but it doesn't allow us to define an ID. I think you can use it however if you are sure you wish to apply the same style to all tables inside a panel in a certain space. In the Stylesheet page enter something like [data-macro-name="panel"] .confluenceTable { margin-left: 240px; }

There are other ways but honestly I would go with the first I have added. 

I hope it helps.

Cheers,

Vitor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

59 views 0 3
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