Я пробовал все настройки CSS, которые я могу найти, но я не могу получить текст в этом div, чтобы обернуть его! Я был бы признателен за помощь, так как это мой первый опыт работы с HTML в течение 10 лет. Вот моя последняя попытка:Текст не обертывается внутри элемента div
#text0 {
word-break: break-word;
max-width: 500px; width: 500px;
word-wrap: break-word;
overflow: hidden;
white-space: pre;
background-color: #afed67;
}
<div id="text0">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scramble
it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>
BTW все это должно идти в Wordpress страницу, я знаю, что они могут быть finnicky о CSS и JavaScript.
А, я думаю, проблема заключалась в «белом пространстве: pre»; там. Угадай, мне просто нужно вручную разбить ручку. Вы спасли мне много головной боли, спасибо! – tornato7
Без проблем! Если это решило вашу проблему, отметьте ее принятой! – Srijith