The problem about CSS setting fonts in Web page making

Source: Internet
Author: User
css| Page | questions

Computers do not know when there will be problems, and sometimes may see a lot of Web fonts have changed, not the Song Dynasty, looks more ugly. This is caused by the fact that there is no font for the page to be set.

Such a problem, I found that a lot of people are committed to writing CSS do not like to set the font. Computer problems fonts do not know how to be changed, so write CSS or set the font of the Web page.

1, how to set the font in the CSS settings?

A: Join this line in the CSS file.

Body{font-family:verdana, "Song Body", Arial,sans;

2. Why do you put "Verdana" in front of the "Song Body"?

A: Give me two examples and you'll see!

A, this example, I was set Font-family:verdana, "Song Body", Arial,sans;

B, this example, I was set font-family: "Song Body", Verdana, Arial,sans;

Description: The above wording applies only to Windows operating systems.



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.