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

This widget could not be displayed.

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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

360 views 2 5
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