Inline graphic causing line breaks

Hello,

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?

Cheers.

1 answer

1 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

762 views 23 12
Join discussion

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