Why do we use less odd fonts in Webpage Design ?, Is there an odd font in the webpage design?

Source: Internet
Author: User

Why do we use less odd fonts in Webpage Design ?, Is there an odd font in the webpage design?

I. Reasons for UI designers

Most designers use an even number of design software (such as ps), so front-end engineers generally use an even number of fonts.

Ii. Reasons for Browser

First, to accommodate ie6, ie6 will render the character defined as 13px as 14px. You can try writing a page.
Another reason is that even-width Chinese characters, such as 12 PX-width Chinese characters, are removed from the 1-pixel spacing and the actual pixel width is 11px, in this way, the vertical lines of Chinese characters are evenly divided between the left and right. Taking the word "medium" as an example, the vertical lines are in the middle at 12 pixels, and each of the left and right is 5 pixels balanced.

Second, some popular Google browsers generally have a default smallest font, and the rendering of odd fonts is not very nice.

 

Iii. Practical Application

  • The even font size is more easily proportional to other parts of the web design. For example, if I use a 14 px text font, I may use a 14x0.5 = 7 px margin in some places, in other cases, use the title Font size of 14 × 1.5 = 21 px.
  • The lattice () provided by Windows is only available in the sizes of 12, 14, and 16 px from Vista, the pixels 13, 15, and 17 use the dot matrix of small numbers (that is, the space occupied by each word is 1 px larger, but the dot matrix is not changed), so it is slightly sparse.

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.