Is there a way to automatically ensure the span
spans multiple lines?
I am working with HTML and CSS.
Below is a modified version of my code, as some parts are in PHP:
<div style='border: 1px solid; padding: 10px; margin-top: 5px;'>
<h2 style='margin: 0;'>Name - #id</h2>
<hr>
<span>
ContentContentContentContentContentContentContentContentContentContentContentContent
</span>
</div>
<br>
Any suggestions on how to truncate this content dynamically?
Should it look like this (with automatic line breaks):