Can this be done with CSS?
Can this be done with CSS?
Out of context: Reply #10
- Started
- Last post
- 10 Responses
- kerus0
close but i think you need to use inline-block for the spans to apply similar uneven padding.
span { display: inline-block; background-color: green; padding: 2px 5px 2px 10px; color: black; }
you'll have to use tags for each line though
<span>line one of test</span>
<span> next line of crap etc</span>