The blank effect properties in CSS are used

Source: Internet
Author: User
White-space

White-space is used to set the browser to "blank" processing, the so-called Blank refers to the space you entered in the editor, enter, tab and so on. His optional content is as follows:

Normal: Default. The blank will be ignored by the browser. For example: whitespace at the beginning of the end ignores, between words, regardless of how many spaces or carriage returns, only one space is displayed, the space before the newline is ignored
Pre: The blank will be reserved by the browser. It behaves like a <pre> tag in HTML.
NoWrap: Do not wrap, unless you encounter <br/>,n a space is compressed into one.
Pre-wrap: Preserves all whitespace, but wraps normally (chrome,ff,ie8+,opera), equal to normal in IE6 and IE7
Pre-line: Merges whitespace sequences (merged into one), but preserves line breaks (Chrome,ff,ie8+,opera), which are equivalent to normal in IE6 and IE7

Word-spacing and Letter-spacing
Word-spacing can only be used in English words and words, for Chinese invalid
Letter-spacing can be used in Chinese.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.