Skalibran Skalibran - 7 months ago 14
CSS Question

Is it possible, to flow a div container right next to the last line of a p?

I'm creating a wordpress template. I'm using the_content(); to get the text written in the backend. Wordpress usually wrapps that inside a

. After the_content(); I want to have a link (that is not written into the WYSIWYG-Editor), and that link is inside a div. Now I want the
to flow right next to the p-wrapped text:

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna, sed diam.



I didn't understand your question correctly, but I think you mean this

.inline {
  display: inline;
  <p class="inline">Content is here</p>
  <div class="inline"><a href="">The link</a></div>