Question: Why not promote the content in Word to be copied directly to the editor of the Web site?
Answer: Copy the contents of Word directly to the editor of the website, will produce a lot of Word automatically generated useless code, thereby increasing the amount of code and the size of the page, one or two does not matter, dozens of or even hundreds of after the Web site space and access to the impact will be greater. And the content that is copied from Word does not necessarily guarantee the formatting of the original copy word in the Web page. My advice is:
1, in the article content page template, in controls the display content label {$ArticleContent} in the table, will the background style management control article content the CSS "main_tdbg_760" (the default is class= "main_tdbg_760", You can also redefine it as a new CSS, defined as the size of the text you want to display, such as:
. main_tdbg_760/* Content table background, text color definition (760) * *
{
Padding:5;line-height:normal; Word-break:break-all;font-size:18pt;font-family: Song body;
}
Definitions such as indent (padding), row height (line-height), Word Wrapping (word-break), Text Size (font-size), and Font (font-family) are defined for the content of the article.
This allows you to define the format of the article as it appears by default.
2. Select all the content in Word-copy, create a new Notepad document to paste, and then copy the contents of Notepad and paste it into the site editor. The entire operation can be completed in a few seconds, compared to the direct copy of Word content, the advantage is: To remove the contents of a direct copy of Word documents generated by a large number of useless code; The disadvantage is that there is no separate font format, such as title font. One thing to note: Pictures in the contents of a Word document cannot be copied directly to the editor at this time. However, you can save the Word document as an HTML file and then upload it after you get the pictures.
3, in the Web site editor to set the size of the title, upload pictures, set the article format.
Question: Does the article content display the line spacing to be set from inside CSS? How do I set it?
Answer: We recommend the use of CSS control, that is, "Line-height:normal" in the above description, the proposed set to "normal;" (default row height), do not set such as "line-height:150%;" or "line-height:24;", "LINE-HEIGHT:24PX;" Such a fixed value. If set to a fixed value, when you set a large font in the editor, the row is fixed to the size you set, causing the overlap between rows and rows.