How to put image and span tag in the same div to display their content on the same line

css, html

Solution

css: `display: inline-block` or `display: inline`

Problem

I have following code ``` <div class="expense"><img class="money"/><span class="total"></span></div> ``` This produces the div and puts the image on one line and the content in span tag on other line. How can I put those on the same line?

Original source