Dreaweave 8.0 method to achieve text paragraph indentation

Source: Internet
Author: User

When we write English text with Dreaweave, the paragraph is generally not indented (it does not support half-width spaces), but most of the time we use the Chinese writing format, we must empty two characters at the beginning of each paragraph. However, the browser can only identify a space for the space in the text, no matter how many.

How to realize the paragraph indent of text in Drwamweaver, it becomes a big problem in the Web page making. To solve this problem, this paper provides the following solutions.

The function of the body with self dreaweave

1, in the Dreamweaver to perform the following operation 4 times can insert two Chinese characters size space.



2, with the same background color characters to complete the insertion of space, this method of operation is more cumbersome, difficult to modify, and when browsing content is selected, hidden characters are exposed.

Second, in HTML language

Use HTML language to implement Chinese paragraph indentation. It's difficult for beginners who don't understand HTML.

1, Pre format (pre)

The source file written in the pre-format, displayed in the source file according to the layout of the words, empty lines and spaces can be clearly distinguished. If the source file is:

〈pre〉
--Pre-format display ...
〈/pre〉

The page will be displayed in the way you have set up the display, that is, the "pre-format display" will be empty two characters in front of the position.

2. Insert special space characters ""

"" represents a non-display space character. Inserts a number of "" characters, separated by semicolons (;) or spaces, and can also be indented in a Chinese paragraph. However, in Netscape 3.01, only lowercase letters can be written, and in IE, the case may be. (This method is easy to produce garbled, not recommended)

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.