For example:
HTML:
The quick brown fox <span class="break">{BREAK}</span> jumps over the lazy dog.
I want this to display:
The quick brown fox {BREAK}
jumps over the lazy dog.
I looked into the display
property, but display:inline;
doesn't break anywhere and display:block
puts breaks on both sides.
I also looked into the :after
pseudo-class, but .break:after{content:"\000A";}
ends up rendering as a space, rather than a line feed.
` in HTML? – Jukka K. Korpela Sep 30 '13 at 17:15
) using only css](http://stackoverflow.com/questions/10933837/line-break-like-br-using-only-css) – user Dec 03 '14 at 22:34