userChrome.css怎么设置微软雅黑粗体呢?

html-css09

userChrome.css怎么设置微软雅黑粗体呢?,第1张

font-family这里写错了,微软雅黑应该写成:MicrosoftYaHei,上面的代码应该是这样的:\x0d\x0a\x0d\x0abody{font-family:"MicrosoftYaHei"font-weight:bold}\x0d\x0a\x0d\x0a其实你直接写"微软雅黑"也没问题的,反正一般有雅黑字体的操作系统也是中文操作系统。

你好!

这个是css的简写形式,意思就是说font:font-style

font-size/line-height

font-family明白了吗?

要是分开写就是:

font-style:normal

font-size:26px

line-height:38px

font-family:"微软雅黑"

希望对你有帮助!

打字不易,采纳哦!