Inline graphic causing line breaks


I'm using 5.9 Server.

When I add a graphic file to a sentence it automatically put the graphic on the next line. All the words after the graphic then get forced onto a third line. This is what it looks like in Saved mode.

image2016-7-8 14:36:28.png

In Edit mode, this is all one sentence.

I can't find any reason in the HTML for this behaviour. I'm sure other people have done this in our instance, and Atlassian's own documentation also does this successfully. This has nothing to do with page width, columns and layout.

Any idea why this is happening and how to resolve it?


1 answer

1 accepted

0 votes
Answer accepted

It turns out that it was something to do with:

  1. .wiki-content .confluence-embedded-file-wrapper .confluence-embedded-image {  
  2. display: inline-block;  
  3. }     

We added and edited this in the spaces' style-sheet and the problem has gone away.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

267 views 2 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you