Привет! Я делаю поле комментария на своей веб-странице, поэтому я проверяю это поле комментария, не позволяя пользователю вводить пустой комментарий, и комментарий не должен превышать 255 символов, все работает нормально, но когдавведите комментарий следующим образом:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaakjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
эта строка выходит за пределы поля комментария, т.е. она идет как прямая линия. Я использовал css свойство overflow: auto;но вот мне нужно, это должно быть показано так.он должен разделить строку
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaakjjjjjjjjj
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
для примера: когда я комментирую вот так The p element has both line boxes and a child box for the q element, which is a block-level element. The line boxes before the q are wrapped in an anonymous block-level box and so are the line boxes after the q. The resulting tree of boxes might be as fol
это подходит ... это должно нравиться