I've tried to inline div but it does not work.
It's hard to explain so see the link below:
<p style="background:red;">SDFDSDSFDSSFDAFASasf<br /> <span style="background: blue; display:inline;">sadfasfasdf</span><em>sasfsalfjsalfjalsjf</em></p>
<p style="background:red;">SDFDSDSFDSSFDAFASasf<br /> <div style="background: blue; display:inline;">sadfasfasdf</div><em>sasfsalfjsalfjalsjf</em></p>
The question is why does the p block does not contain the elements after the first line in the second example where I used div instead of span?
I am speculating the problem lies in default properties of div