I do not think that's possible:
<p> Text that goes here and image <img src="img.jpg"/> continues text</p>
As far as I know, browsers treat <p> content as belonging to a string, so when the browser parses your p tag that contains the image, it will automatically make that string as tall as the image.
Perhaps this is possible with css3, though ...
source share