Results 1 to 3 of 3
Jun 14, 2011, 12:14 #1
- Join Date
- Jul 2010
- Vancouver, Canada
- 0 Post(s)
- 0 Thread(s)
Wrapped text with equal side padding
I'm trying to achieve text with a background color that wraps with a gap between each wrapped line.
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."To be truly dedicated to something
you must be willing to betray it." -SW