I'm having this problem rendering text without spacing.
How can I resolve it?
I understand that there is no line break because it does not contain spaces. Use the word-wrap
property and set the value break-word
, this will force a line break as soon as the text reaches the div
limit.
div {
width: 200px;
word-wrap: break-word;
}
<div>
Note:InternetExplorer9andearlierversionsdonosupportWeb Workers.
</div>
CSS3 word-wrap Property