I’m trying to achieve text with a background color that wraps with a gap between each wrapped line.
Example(image):
If you use a block element you don’t get the gap between wrapped lines, so I can get close using a <span>, but the left & right padding only applies to the very beginning and very end of the <span>.
I could achieve the effect just using a different <span> or block element for each line and fudge the wrapping, but then it defeats the purpose.
Thanks, Paul. Someone else pointed out that thread to me earlier, but the content in question will eventually be entered by the client so I’ll just have to change the design to avoid trying to explain nested elements