Obsivus Obsivus - 6 months ago 3x
HTML Question

Break non-hyphenated compound words at word boundary

I am using bootstrap.
Let say I have text that looks like this:


Can I somehow automatically make sure that it breaks like this if the text does not fit the container:



instead of:



with html/css?


You can use <wbr> tag

p {
  width: 60px;  
  border: 1px solid black;