I want to have a border around multi-line text, I have:
Morbi hendrerit pretium nibh quis <span style='border: 1px solid black;'> mattis. Blah blah blah</span> blah blah...
Now that the range spans more than one line, a border is created around each line of text, which I donβt want - I am aiming at a border around the whole block, and the text is inline (display: block / inline-block do not do the job properly).
Is there any way to achieve this without playing with javascript?
source share