Forum How do I...?

float a block inside a paragraph without introducing a line break

bmesuere
I'm writing a book where I use the left margin for notes. These notes are embedded in paragraphs as span-elements with a specific class.
The class gets some css applied to it to position it in the margin at the same height:
    
position: relative;
display: block;
float: left;
...


In Chrome, Firefox and Safari, this works great, but prince is introducing a line break at the place where the span was. Is there a way to prevent this?

Example where the note was added in the text after the word "undetermined":
Chrome:


Prince:
skycaptain
To make things easier, please provide all sample files.

Edited by skycaptain