I want exactly something like the following:
Side by side p-tages
Several texts that may be more than one line, and after the end of each <p></p>
tag there is a shape (circle) and the next text starts from its continuation.
I tried putting inline style to each element but it didn’t work well!
/*The div tag is related to the circle shape*/
<p style="display: inline">This is a Lorem ipsum</p>
<div style="display: inline"></div>
<p style="display: inline">dolor sit amet</p>
<div style="display: inline"></div>
<p style="display: inline">elit sed do</p>
<div style="display: inline"></div>
<p style="display: inline">eiusmod tempor incididunt</p>
<div style="display: inline"></div>
2
Answers
Since your div is an inline element, it will take the width of the content. Since, the content is empty, the div will not have width.
Make the display style of your div to inline-block; Also, add following style to test. It worked for me.