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

0 votes
Accepted answer

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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

922 views 13 11
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