Home > Article > Web Front-end > Why are odd-numbered fonts rarely used in web design? _html/css_WEB-ITnose
1. Reasons for UI designers
Most designers use even-numbered design software (such as ps), so front-end engineers generally use even-numbered fonts
2. The reason for the browser
One is to accommodate IE6. The evil IE6 will render words defined as 13px into 14px. You can try writing a page
The other reason is , even-numbered Chinese characters, such as 12px wide Chinese characters, remove the 1 pixel spacing, and the actual width of the filled pixels is 11px, so that the left and right middle vertical lines of the Chinese characters are equally divided. Take the word "中" as an example, at 12 pixels When , the vertical line is in the middle, with 5 pixels on the left and right, which looks balanced.
Secondly, some of the more popular browsers like Google generally have a default minimum font, and the rendering of odd fonts is not very good
3. Practical application