Someone here recommend me to use display:inline-block
to make the width of the element be the same as its content. So I tried, but doing so, I ended up with the text getting all mixed. How do I fix this?
The second pair is what I wanted, but with the width of the Paragraph extending only as its content.
<p style="display: inline-block">Inline-block P</p><span>Normal span</span>
<p>Normal P</p><span>Normal span</span>
`` tag where yo want the text to break – Gerardo BLANCO Jan 29 '18 at 23:02