tags:

views:

17

answers:

1

I have a block with some text and image inside.

Like:

<div>I just posted a new photo from my iPhone <img></div>

Image in the end has dimensions of 16x16.

The problem is, text varies and sometimes >just image< goes to a new line. It should always go with some word, image must not travel alone.

How do I do it?

+4  A: 

Use a non-breaking space:

...from my iPhone&nbsp;<img>...
Tomalak