Home  >  Article  >  Web Front-end  >  Analysis on the correspondence between the px size used when setting font-size in css and the font size in word

Analysis on the correspondence between the px size used when setting font-size in css and the font size in word

黄舟
黄舟Original
2017-07-24 13:46:414538browse

The conversion relationship between pt and px is 1px= 0.75pt.

So the corresponding size of the size 5 font (10.5pt) in word on the web page is font-size:14px. (10.5 / 0.75 = 14)

Initial number 44pt

小 junior 36pt

一No. 26pt

小一24pt

二号22pt

小二18pt

三号16pt

小三15pt

四号14pt

小四12pt

五号10.5pt

##小五9pt

六No. 7.5pt

小六6.5pt

七号5.5pt

八号5pt

The above is the detailed content of Analysis on the correspondence between the px size used when setting font-size in css and the font size in word. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn