Home > Web Front-end > HTML Tutorial > css forced line break_html/css_WEB-ITnose

css forced line break_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 12:21:22
Original
1192 people have browsed it

css forces label content to wrap, but long-byte English words are not split


Reply to discussion (solution)

Closing rate: 33.33%

word-wrap:break-word;

强制不换行div{white-space:nowrap;}自动换行div{ word-wrap: break-word; word-break: normal; }强制英文单词断行div{word-break:break-all;} 
Copy after login

width:500px; float:left; word-break:break-all;

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template