Home > Web Front-end > HTML Tutorial > Combining web page div css is text filler shorthand_html/css_WEB-ITnose

Combining web page div css is text filler shorthand_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:29:16
Original
919 people have browsed it

1. If you want the space in "how are you" to be effective: you need to add word-spacing:20px;

2. After fixing the width of the div, do you want the text inside to overflow? or hidden: You need to set text-overflow:ellipsis;overflow:hidden; white-space:pre;//Wrap when encountering a blank line

4. Break according to the attributes of the word word-break:break-all;//Wrap according to the width, regardless of whether the word is written completely Line break immediately.

5. This line break is similar to the one above: word-wrap:break-word;

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