Home › Forums › CSS › Block elements take full width when text wraps on to two lines › Re: Block elements take full width when text wraps on to two lines
June 20, 2013 at 6:23 pm
#139666
Member
Thanks for the replies.
Ideally I was looking to achieve the red background to only span the width of the text (like what is achieved using inline) BUT where the second line isn’t as long as the first the background to still extend to the width of the first line (so it still looks like a block).
Getting the feeling this isn’t possible?